Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005865/0.005865, allocations: 100.7 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 191 kB / 16.67 MB, free: 5.973 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 62.67 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3803, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003279/0.3837, allocations: 1.652 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2011/0.5847, allocations: 151.6 MB / 1.238 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.585, allocations: 0 / 1.238 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.5854, allocations: 15.8 kB / 1.238 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.5857, allocations: 47.66 kB / 1.238 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.5862, allocations: 139.4 kB / 1.238 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.5865, allocations: 135.5 kB / 1.238 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.5867, allocations: 29.33 kB / 1.238 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.588, allocations: 163.8 kB / 1.238 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.5881, allocations: 51.78 kB / 1.238 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.5882, allocations: 4 kB / 1.238 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.5886, allocations: 183.7 kB / 1.238 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.5886, allocations: 19.92 kB / 1.238 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.5887, allocations: 43.73 kB / 1.238 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.5891, allocations: 195.4 kB / 1.238 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5891, allocations: 0 / 1.238 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5891, allocations: 0 / 1.238 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5892, allocations: 0 / 1.238 GB, free: 6.707 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007656/0.5899, allocations: 447 kB / 1.239 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.59, allocations: 12.03 kB / 1.239 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.5909, allocations: 87.78 kB / 1.239 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.5912, allocations: 202.9 kB / 1.239 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5912, allocations: 8 kB / 1.239 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.5912, allocations: 7.938 kB / 1.239 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.5917, allocations: 139.8 kB / 1.239 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5917, allocations: 0 / 1.239 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.5917, allocations: 4 kB / 1.239 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.5917, allocations: 11.92 kB / 1.239 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.5922, allocations: 139.8 kB / 1.24 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.593, allocations: 408.5 kB / 1.24 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.5937, allocations: 247.7 kB / 1.24 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.5939, allocations: 80.78 kB / 1.24 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.594, allocations: 4 kB / 1.24 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.594, allocations: 34.5 kB / 1.24 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.594, allocations: 0 / 1.24 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0007/0.5947, allocations: 217.3 kB / 1.24 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.5948, allocations: 55.41 kB / 1.241 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.5949, allocations: 143.3 kB / 1.241 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.5949, allocations: 29.69 kB / 1.241 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.595, allocations: 104.1 kB / 1.241 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.5951, allocations: 35.55 kB / 1.241 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.5951, allocations: 25.7 kB / 1.241 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5953, allocations: 326.7 kB / 1.241 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.5955, allocations: 51.94 kB / 1.241 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.5957, allocations: 82.45 kB / 1.241 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.5961, allocations: 120.8 kB / 1.241 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5961, allocations: 0 / 1.241 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004246/0.5965, allocations: 157.5 kB / 1.242 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5966, allocations: 8 kB / 1.242 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.5966, allocations: 0 / 1.242 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.5966, allocations: 0 / 1.242 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.5968, allocations: 35.91 kB / 1.242 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5968, allocations: 0 / 1.242 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.5969, allocations: 19.97 kB / 1.242 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.597, allocations: 4.547 kB / 1.242 GB, free: 3.273 MB / 0.9981 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 (8): * Single equations (assignments): 8 * 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 9.807e-05/0.5971, allocations: 117.8 kB / 1.242 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.5971, allocations: 11.89 kB / 1.242 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.5972, allocations: 20.72 kB / 1.242 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5972, allocations: 0 / 1.242 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.5972, allocations: 3.938 kB / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5972, allocations: 0 / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.598, allocations: 470.1 kB / 1.242 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.598, allocations: 0 / 1.242 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.5982, allocations: 31.97 kB / 1.242 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5982, allocations: 0 / 1.242 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.5982, allocations: 7.984 kB / 1.242 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5982, allocations: 8.016 kB / 1.242 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5982, allocations: 3.984 kB / 1.242 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.5987, allocations: 251.3 kB / 1.242 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.5988, allocations: 96.86 kB / 1.243 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.5988, allocations: 0 / 1.243 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.599, allocations: 15.92 kB / 1.243 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.599, allocations: 19.92 kB / 1.243 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.599, allocations: 0 / 1.243 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.494e-05/0.5991, allocations: 112.7 kB / 1.243 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.5991, allocations: 0 / 1.243 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000263/0.5994, allocations: 28 kB / 1.243 GB, free: 2 MB / 0.9981 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 (8): * Single equations (assignments): 8 * 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.0001787/0.5996, allocations: 115.2 kB / 1.243 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004501/0.6, allocations: 119.9 kB / 1.243 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6001, allocations: 0 / 1.243 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.6003, allocations: 71.88 kB / 1.243 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.6006, allocations: 34.16 kB / 1.243 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.6012, allocations: 231.2 kB / 1.243 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.6015, allocations: 0.7041 MB / 1.244 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.6017, allocations: 28.34 kB / 1.244 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.6017, allocations: 19.42 kB / 1.244 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.6017, allocations: 4 kB / 1.244 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of Templates: time 0.004849/0.6066, allocations: 1.945 MB / 1.246 GB, free: 14.71 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches