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.001104/0.001104, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009429/0.009429, allocations: 171 kB / 16.26 MB, free: 6.613 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.546/2.546, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8854/0.8858, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002504/0.8884, allocations: 1.349 MB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2054/1.094, allocations: 147.7 MB / 1.101 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/1.094, allocations: 3.938 kB / 1.101 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002082/1.094, allocations: 15.86 kB / 1.101 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/1.095, allocations: 39.78 kB / 1.101 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/1.095, allocations: 123.6 kB / 1.101 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/1.096, allocations: 115.6 kB / 1.101 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/1.096, allocations: 23.38 kB / 1.101 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/1.098, allocations: 162.1 kB / 1.101 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/1.098, allocations: 35.78 kB / 1.101 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/1.098, allocations: 4 kB / 1.101 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/1.099, allocations: 183.6 kB / 1.101 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/1.099, allocations: 15.92 kB / 1.101 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/1.099, allocations: 65.44 kB / 1.101 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004446/1.099, allocations: 183.5 kB / 1.101 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.099, allocations: 0 / 1.101 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.136e-06/1.099, allocations: 0 / 1.101 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.18e-06/1.099, allocations: 4 kB / 1.101 GB, free: 8.82 MB / 0.8575 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.000833/1.1, allocations: 436.2 kB / 1.102 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.1, allocations: 12.03 kB / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.101, allocations: 87.84 kB / 1.102 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/1.102, allocations: 198.8 kB / 1.102 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.102, allocations: 8 kB / 1.102 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/1.102, allocations: 8 kB / 1.102 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/1.102, allocations: 149.5 kB / 1.102 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.102, allocations: 0 / 1.102 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.102, allocations: 4 kB / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.102, allocations: 3.938 kB / 1.102 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/1.103, allocations: 167.7 kB / 1.103 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/1.104, allocations: 408.4 kB / 1.103 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/1.105, allocations: 259.7 kB / 1.103 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/1.105, allocations: 92.78 kB / 1.103 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/1.105, allocations: 0 / 1.103 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.105, allocations: 34.56 kB / 1.103 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/1.105, allocations: 0 / 1.103 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008814/1.106, allocations: 253.4 kB / 1.104 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.106, allocations: 55.34 kB / 1.104 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.106, allocations: 144.5 kB / 1.104 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.106, allocations: 25.7 kB / 1.104 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/1.106, allocations: 112 kB / 1.104 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/1.106, allocations: 23.78 kB / 1.104 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/1.106, allocations: 13.72 kB / 1.104 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.106, allocations: 330.8 kB / 1.104 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/1.107, allocations: 59.95 kB / 1.104 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/1.107, allocations: 86.52 kB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/1.107, allocations: 144.8 kB / 1.104 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.107, allocations: 0 / 1.104 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005373/1.108, allocations: 185.3 kB / 1.105 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/1.108, allocations: 8 kB / 1.105 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.108, allocations: 0 / 1.105 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.108, allocations: 0 / 1.105 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.108, allocations: 35.97 kB / 1.105 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.108, allocations: 0.5469 kB / 1.105 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/1.108, allocations: 23.98 kB / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.108, allocations: 3.984 kB / 1.105 GB, free: 5.266 MB / 0.8575 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 0.0001125/1.109, allocations: 129.7 kB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/1.109, allocations: 11.91 kB / 1.105 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/1.109, allocations: 16.72 kB / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.109, allocations: 0 / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.109, allocations: 0 / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.109, allocations: 3.984 kB / 1.105 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/1.11, allocations: 486.2 kB / 1.105 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.11, allocations: 4 kB / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/1.11, allocations: 35.95 kB / 1.105 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/1.11, allocations: 0 / 1.105 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.11, allocations: 0 / 1.105 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.11, allocations: 3.938 kB / 1.105 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.11, allocations: 7.938 kB / 1.105 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/1.11, allocations: 287.3 kB / 1.106 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/1.11, allocations: 81.02 kB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/1.111, allocations: 0 / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.111, allocations: 43.73 kB / 1.106 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/1.111, allocations: 7.984 kB / 1.106 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.111, allocations: 4 kB / 1.106 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.525e-05/1.111, allocations: 121.5 kB / 1.106 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.111, allocations: 0 / 1.106 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002791/1.111, allocations: 31.94 kB / 1.106 GB, free: 3.918 MB / 0.8575 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.0001866/1.111, allocations: 107.2 kB / 1.106 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005538/1.112, allocations: 147.8 kB / 1.106 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.112, allocations: 4 kB / 1.106 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/1.112, allocations: 75.94 kB / 1.106 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.113, allocations: 23.98 kB / 1.106 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/1.113, allocations: 273.3 kB / 1.107 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/1.114, allocations: 0.7043 MB / 1.107 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001648/1.114, allocations: 28.36 kB / 1.107 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/1.114, allocations: 15.42 kB / 1.107 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/1.114, allocations: 0 / 1.107 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.005461/1.119, allocations: 1.737 MB / 1.109 GB, free: 0.7773 MB / 0.8575 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