Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_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_latest_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.001115/0.001115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001504/0.001504, allocations: 190 kB / 16.25 MB, free: 6.598 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.98 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.351, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003696/0.3547, allocations: 1.702 MB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.5233, allocations: 149.4 MB / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.5235, allocations: 0 / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.5238, allocations: 11.86 kB / 1.215 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.5241, allocations: 35.78 kB / 1.215 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.5247, allocations: 127.5 kB / 1.215 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.5249, allocations: 119.6 kB / 1.216 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.525, allocations: 37.66 kB / 1.216 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.5272, allocations: 167.1 kB / 1.216 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.5274, allocations: 47.77 kB / 1.216 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.5274, allocations: 8 kB / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006428/0.528, allocations: 183.7 kB / 1.216 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.5282, allocations: 19.92 kB / 1.216 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.5283, allocations: 47.73 kB / 1.216 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.5289, allocations: 195.4 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5289, allocations: 3.938 kB / 1.216 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5289, allocations: 0 / 1.216 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.5289, allocations: 0 / 1.216 GB, free: 2.172 MB / 0.9669 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.0009554/0.5299, allocations: 439 kB / 1.217 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.5299, allocations: 12.03 kB / 1.217 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5312, allocations: 79.94 kB / 1.217 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5315, allocations: 212.9 kB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5315, allocations: 8 kB / 1.217 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.5316, allocations: 8 kB / 1.217 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.5321, allocations: 133.5 kB / 1.217 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5321, allocations: 0 / 1.217 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.5322, allocations: 7.984 kB / 1.217 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.5322, allocations: 7.875 kB / 1.217 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.5327, allocations: 131.9 kB / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5337, allocations: 416.4 kB / 1.218 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/0.5345, allocations: 247.7 kB / 1.218 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.5348, allocations: 80.8 kB / 1.218 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.5348, allocations: 0 / 1.218 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.5348, allocations: 34.55 kB / 1.218 GB, free: 216 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.5348, allocations: 4 kB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008109/0.5356, allocations: 217.3 kB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5357, allocations: 51.41 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.5358, allocations: 145.3 kB / 1.218 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.5359, allocations: 25.7 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.5359, allocations: 108.2 kB / 1.218 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.536, allocations: 27.59 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.5361, allocations: 25.72 kB / 1.219 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5362, allocations: 330.8 kB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.5364, allocations: 51.94 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.5366, allocations: 78.52 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.537, allocations: 120.7 kB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5371, allocations: 0 / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004817/0.5375, allocations: 161.5 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5376, allocations: 5.094 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5376, allocations: 0 / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5376, allocations: 4 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.5378, allocations: 23.97 kB / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5378, allocations: 4 kB / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.538, allocations: 23.91 kB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.538, allocations: 0 / 1.219 GB, free: 14.77 MB / 0.9825 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.000106/0.5381, allocations: 131.2 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.5382, allocations: 11.81 kB / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.5383, allocations: 24.64 kB / 1.219 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5383, allocations: 4 kB / 1.219 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5383, allocations: 0 / 1.219 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5383, allocations: 3.938 kB / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008108/0.5391, allocations: 458.9 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5391, allocations: 0 / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.5393, allocations: 31.91 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5393, allocations: 0 / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5394, allocations: 0 / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5394, allocations: 3.938 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5394, allocations: 0 / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.5399, allocations: 271.3 kB / 1.22 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.54, allocations: 88.94 kB / 1.22 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.54, allocations: 4 kB / 1.22 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5402, allocations: 23.91 kB / 1.22 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.5402, allocations: 11.98 kB / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.5403, allocations: 0 / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.5403, allocations: 117.5 kB / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5403, allocations: 0 / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002937/0.5406, allocations: 28 kB / 1.22 GB, free: 13.48 MB / 0.9825 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.0001975/0.5408, allocations: 115.2 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.5414, allocations: 127.9 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5414, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.5416, allocations: 67.88 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.542, allocations: 35.97 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.5427, allocations: 263 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5429, allocations: 0.7002 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.5431, allocations: 28.36 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.5432, allocations: 15.42 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.5432, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.005104/0.5483, allocations: 1.827 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches