Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005835/0.005835, allocations: 102.3 kB / 15.73 MB, free: 5.988 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.001194/0.001194, allocations: 194.7 kB / 16.67 MB, free: 5.926 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.61/2.61, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 58.84 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3511, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002529/0.3537, allocations: 1.494 MB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.511, allocations: 132.1 MB / 1.218 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.5111, allocations: 4 kB / 1.218 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.5111, allocations: 3.938 kB / 1.218 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.5112, allocations: 7.875 kB / 1.218 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.5117, allocations: 67.66 kB / 1.218 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.5118, allocations: 67.59 kB / 1.218 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.512, allocations: 8 kB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.512, allocations: 19.92 kB / 1.219 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.5121, allocations: 27.91 kB / 1.219 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.5121, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.5122, allocations: 16 kB / 1.219 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.5122, allocations: 11.92 kB / 1.219 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.5123, allocations: 23.92 kB / 1.219 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.5125, allocations: 59.81 kB / 1.219 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5125, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5125, allocations: 3.938 kB / 1.219 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.5125, allocations: 4 kB / 1.219 GB, free: 11.13 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000608/0.5131, allocations: 367.3 kB / 1.219 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5132, allocations: 15.97 kB / 1.219 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.5132, allocations: 8.844 kB / 1.219 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5134, allocations: 172.3 kB / 1.219 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.5134, allocations: 8.375 kB / 1.219 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.5134, allocations: 384 / 1.219 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.5137, allocations: 70.22 kB / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5137, allocations: 192 / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5137, allocations: 7.922 kB / 1.219 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.5137, allocations: 4 kB / 1.219 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.514, allocations: 75.86 kB / 1.219 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.5145, allocations: 288.7 kB / 1.22 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.5147, allocations: 54.53 kB / 1.22 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.5148, allocations: 44.86 kB / 1.22 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.515, allocations: 89.09 kB / 1.22 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.515, allocations: 34.5 kB / 1.22 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.5151, allocations: 0 / 1.22 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000523/0.5156, allocations: 133.6 kB / 1.22 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.5156, allocations: 51.41 kB / 1.22 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5157, allocations: 113.8 kB / 1.22 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.5158, allocations: 25.7 kB / 1.22 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.5158, allocations: 96.12 kB / 1.22 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.5158, allocations: 7.812 kB / 1.22 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.5159, allocations: 13.72 kB / 1.22 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.516, allocations: 326.8 kB / 1.221 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.5162, allocations: 31.95 kB / 1.221 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5163, allocations: 27.97 kB / 1.221 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.5165, allocations: 76.72 kB / 1.221 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5165, allocations: 0 / 1.221 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002836/0.5168, allocations: 93.62 kB / 1.221 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5169, allocations: 8 kB / 1.221 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.5169, allocations: 4 kB / 1.221 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5169, allocations: 3.984 kB / 1.221 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.517, allocations: 15.98 kB / 1.221 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.517, allocations: 4 kB / 1.221 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.5171, allocations: 7.984 kB / 1.221 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.5171, allocations: 7.938 kB / 1.221 GB, free: 8.645 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 (3): * Single equations (assignments): 3 * 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.0001032/0.5173, allocations: 113.8 kB / 1.221 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.5173, allocations: 7.906 kB / 1.221 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.5177, allocations: 117.4 kB / 1.221 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5177, allocations: 0 / 1.221 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5177, allocations: 0 / 1.221 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5177, allocations: 0 / 1.221 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.5179, allocations: 169.6 kB / 1.221 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.518, allocations: 0 / 1.221 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.13e-05/0.5181, allocations: 20.34 kB / 1.221 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5181, allocations: 3.938 kB / 1.221 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.5181, allocations: 4 kB / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5181, allocations: 0 / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5181, allocations: 4 kB / 1.221 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.5185, allocations: 203.2 kB / 1.221 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.5185, allocations: 81.09 kB / 1.222 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.5186, allocations: 8 kB / 1.222 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.5187, allocations: 7.984 kB / 1.222 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.5188, allocations: 8 kB / 1.222 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5188, allocations: 0 / 1.222 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.5188, allocations: 91.27 kB / 1.222 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5188, allocations: 0 / 1.222 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002415/0.5191, allocations: 15.94 kB / 1.222 GB, free: 7.699 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 (3): * Single equations (assignments): 3 * 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.0002149/0.5193, allocations: 107.8 kB / 1.222 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.5197, allocations: 75.86 kB / 1.222 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5197, allocations: 0 / 1.222 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.5198, allocations: 35.95 kB / 1.222 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.5203, allocations: 15.94 kB / 1.222 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.5207, allocations: 167.7 kB / 1.222 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.5212, allocations: 0.6846 MB / 1.223 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.5212, allocations: 0 / 1.223 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.5212, allocations: 11.44 kB / 1.223 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.5212, allocations: 4 kB / 1.223 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.00443/0.5257, allocations: 0.9967 MB / 1.224 GB, free: 5.566 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches