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.006489/0.006489, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001379/0.001379, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.63/2.63, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 58.28 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002427/0.3145, allocations: 1.486 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1675/0.482, allocations: 132.1 MB / 1.218 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.4822, allocations: 4 kB / 1.218 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.726e-05/0.4822, allocations: 7.922 kB / 1.218 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.4824, allocations: 11.88 kB / 1.218 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.4828, allocations: 59.72 kB / 1.218 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.483, allocations: 55.67 kB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4831, allocations: 15.92 kB / 1.218 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.4832, allocations: 27.86 kB / 1.219 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.4832, allocations: 27.91 kB / 1.219 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4833, allocations: 4 kB / 1.219 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.4834, allocations: 19.94 kB / 1.219 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.4834, allocations: 15.92 kB / 1.219 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.4834, allocations: 15.94 kB / 1.219 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.4836, allocations: 59.73 kB / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4836, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4836, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4836, allocations: 4 kB / 1.219 GB, free: 11.11 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.000573/0.4842, allocations: 375.2 kB / 1.219 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4843, allocations: 16.03 kB / 1.219 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4843, allocations: 4.891 kB / 1.219 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.4844, allocations: 164.4 kB / 1.219 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.4845, allocations: 4.375 kB / 1.219 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.4845, allocations: 4.359 kB / 1.219 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.4848, allocations: 78.16 kB / 1.219 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4848, allocations: 192 / 1.219 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4848, allocations: 3.938 kB / 1.219 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4848, allocations: 0 / 1.219 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.4851, allocations: 71.92 kB / 1.219 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.4855, allocations: 288.8 kB / 1.22 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.4857, allocations: 62.45 kB / 1.22 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.4859, allocations: 40.86 kB / 1.22 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.4861, allocations: 93.09 kB / 1.22 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4861, allocations: 34.56 kB / 1.22 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4861, allocations: 0 / 1.22 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005497/0.4867, allocations: 141.5 kB / 1.22 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4867, allocations: 51.41 kB / 1.22 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4869, allocations: 117.8 kB / 1.22 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4869, allocations: 25.7 kB / 1.22 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.4869, allocations: 92.08 kB / 1.22 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.487, allocations: 15.89 kB / 1.22 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.487, allocations: 17.72 kB / 1.22 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4871, allocations: 314.8 kB / 1.221 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4873, allocations: 35.95 kB / 1.221 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4874, allocations: 27.97 kB / 1.221 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.4877, allocations: 72.78 kB / 1.221 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4877, allocations: 3.938 kB / 1.221 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003088/0.488, allocations: 97.56 kB / 1.221 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4881, allocations: 8 kB / 1.221 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4881, allocations: 4 kB / 1.221 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4881, allocations: 0 / 1.221 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4882, allocations: 15.97 kB / 1.221 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4882, allocations: 4 kB / 1.221 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.4883, allocations: 11.98 kB / 1.221 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4883, allocations: 4 kB / 1.221 GB, free: 8.613 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 7.999e-05/0.4884, allocations: 109.8 kB / 1.221 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.4884, allocations: 11.95 kB / 1.221 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.4888, allocations: 105.5 kB / 1.221 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4888, allocations: 3.938 kB / 1.221 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4888, allocations: 3.984 kB / 1.221 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4888, allocations: 0 / 1.221 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.489, allocations: 169.6 kB / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.489, allocations: 0 / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-05/0.4891, allocations: 23.97 kB / 1.221 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4891, allocations: 3.938 kB / 1.221 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4891, allocations: 0 / 1.221 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4891, allocations: 0 / 1.221 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4892, allocations: 4 kB / 1.221 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.4895, allocations: 199.8 kB / 1.221 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.4896, allocations: 81.09 kB / 1.222 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.4896, allocations: 4.047 kB / 1.222 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4897, allocations: 11.97 kB / 1.222 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.4898, allocations: 8 kB / 1.222 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.4898, allocations: 0 / 1.222 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.4898, allocations: 95.2 kB / 1.222 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4898, allocations: 0 / 1.222 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002255/0.4901, allocations: 19.94 kB / 1.222 GB, free: 7.668 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.0001638/0.4902, allocations: 111.7 kB / 1.222 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.4906, allocations: 71.92 kB / 1.222 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4906, allocations: 0 / 1.222 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4907, allocations: 39.95 kB / 1.222 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.4911, allocations: 11.94 kB / 1.222 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.4914, allocations: 159.6 kB / 1.222 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.4917, allocations: 0.6884 MB / 1.223 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.4918, allocations: 8 kB / 1.223 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.4918, allocations: 11.44 kB / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.4918, allocations: 0 / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.003329/0.4952, allocations: 0.9926 MB / 1.224 GB, free: 5.539 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