Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.05 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002674/0.3453, allocations: 1.252 MB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005663/0.3459, allocations: 301.2 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.3459, allocations: 4 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.3459, allocations: 3.938 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.346, allocations: 3.938 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3463, allocations: 51.73 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.3464, allocations: 19.88 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3464, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.3465, allocations: 4 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.3465, allocations: 11.98 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3465, allocations: 15.92 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3467, allocations: 55.95 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.3467, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.3467, allocations: 4 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3469, allocations: 56.09 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3469, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3469, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3469, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003723/0.3473, allocations: 323.6 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3473, allocations: 12.03 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.3476, allocations: 20.92 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3477, allocations: 172.3 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3477, allocations: 384 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.3477, allocations: 384 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3478, allocations: 42.25 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3479, allocations: 192 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3479, allocations: 7.875 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3479, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.3479, allocations: 16 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3481, allocations: 165.6 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.35, allocations: 262.5 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.35, allocations: 24.84 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3501, allocations: 4 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.3501, allocations: 30.56 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.3501, allocations: 3.938 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001563/0.3502, allocations: 65.56 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3503, allocations: 55.41 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.3504, allocations: 93.86 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3504, allocations: 25.7 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.3505, allocations: 84.14 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.3505, allocations: 11.8 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3505, allocations: 21.66 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.3506, allocations: 310.8 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.3507, allocations: 8 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.3507, allocations: 15.98 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.3507, allocations: 37.19 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3507, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.642e-05/0.3508, allocations: 53.69 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3508, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3509, allocations: 3.938 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3509, allocations: 4 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.3509, allocations: 4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.351, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.351, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.351, allocations: 4 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.3511, allocations: 118.4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.3511, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.3511, allocations: 15.38 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3511, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3511, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3511, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.3513, allocations: 153.7 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3513, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.3513, allocations: 4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3513, allocations: 4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3513, allocations: 7.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3513, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3513, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.3514, allocations: 81.06 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.3515, allocations: 92.94 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.3515, allocations: 3.938 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.3516, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.3516, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3516, allocations: 11.94 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.3517, allocations: 79.27 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3517, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000184/0.3519, allocations: 8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001056/0.352, allocations: 99.25 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.3521, allocations: 23.98 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3521, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.3521, allocations: 20.03 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3523, allocations: 17.48 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.3527, allocations: 114.6 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3529, allocations: 0.6768 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.353, allocations: 11.86 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.353, allocations: 7.438 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.353, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of Templates: time 0.002479/0.3555, allocations: 0.5234 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches