Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_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_latest_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.0009318/0.0009318, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 443.2 MB / 0.7181 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.000347, allocations: 12.72 kB / 0.8801 GB, free: 42.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2782, allocations: 155.2 MB / 1.032 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001844/0.2801, allocations: 1.218 MB / 1.033 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1442/0.4243, allocations: 128.5 MB / 1.158 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.4244, allocations: 4 kB / 1.158 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.4245, allocations: 4 kB / 1.158 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.4246, allocations: 15.84 kB / 1.158 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.4249, allocations: 56.08 kB / 1.158 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.425, allocations: 47.84 kB / 1.158 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.4252, allocations: 15.94 kB / 1.158 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.4252, allocations: 23.84 kB / 1.158 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.4253, allocations: 31.86 kB / 1.159 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.4253, allocations: 0 / 1.159 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.4254, allocations: 15.92 kB / 1.159 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.4254, allocations: 4 kB / 1.159 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.4255, allocations: 49.56 kB / 1.159 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.4256, allocations: 35.94 kB / 1.159 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4256, allocations: 4 kB / 1.159 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4256, allocations: 0 / 1.159 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4256, allocations: 0 / 1.159 GB, free: 2.168 MB / 0.9044 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.0005341/0.4262, allocations: 375.3 kB / 1.159 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4262, allocations: 8.031 kB / 1.159 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.4263, allocations: 4.938 kB / 1.159 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4264, allocations: 180.2 kB / 1.159 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.4264, allocations: 384 / 1.159 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4264, allocations: 8.375 kB / 1.159 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.4267, allocations: 82.22 kB / 1.159 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4267, allocations: 4.125 kB / 1.159 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4268, allocations: 7.875 kB / 1.159 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4268, allocations: 4 kB / 1.159 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.4271, allocations: 87.92 kB / 1.159 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4275, allocations: 288.7 kB / 1.16 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.4278, allocations: 66.47 kB / 1.16 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.4279, allocations: 56.91 kB / 1.16 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.4281, allocations: 89.09 kB / 1.16 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4281, allocations: 30.56 kB / 1.16 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.4282, allocations: 4 kB / 1.16 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0006069/0.4288, allocations: 165.5 kB / 1.16 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.4288, allocations: 51.41 kB / 1.16 GB, free: 496 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4289, allocations: 121.7 kB / 1.16 GB, free: 364 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.4289, allocations: 25.7 kB / 1.16 GB, free: 332 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.429, allocations: 96.06 kB / 1.16 GB, free: 232 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.429, allocations: 7.906 kB / 1.16 GB, free: 224 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.4291, allocations: 17.66 kB / 1.16 GB, free: 200 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4292, allocations: 318.8 kB / 1.161 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.4294, allocations: 47.97 kB / 1.161 GB, free: 15.83 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4295, allocations: 39.97 kB / 1.161 GB, free: 15.79 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.4298, allocations: 92.78 kB / 1.161 GB, free: 15.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4298, allocations: 3.938 kB / 1.161 GB, free: 15.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003576/0.4302, allocations: 121.5 kB / 1.161 GB, free: 15.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4302, allocations: 7.984 kB / 1.161 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4302, allocations: 4 kB / 1.161 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.4303, allocations: 0 / 1.161 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4304, allocations: 23.92 kB / 1.161 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.4304, allocations: 0 / 1.161 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.195e-05/0.4305, allocations: 19.98 kB / 1.161 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.4305, allocations: 0 / 1.161 GB, free: 15.51 MB / 0.92 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.914e-05/0.4306, allocations: 119.3 kB / 1.161 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4306, allocations: 7.984 kB / 1.161 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.431, allocations: 125.5 kB / 1.161 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4311, allocations: 4 kB / 1.161 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4311, allocations: 3.938 kB / 1.161 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4311, allocations: 0 / 1.161 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4313, allocations: 181.6 kB / 1.161 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4313, allocations: 3.984 kB / 1.161 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.4314, allocations: 23.98 kB / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4314, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4314, allocations: 3.938 kB / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4314, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4314, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.4318, allocations: 223.4 kB / 1.162 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.4319, allocations: 81.44 kB / 1.162 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.4319, allocations: 0 / 1.162 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.432, allocations: 19.98 kB / 1.162 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.4321, allocations: 11.98 kB / 1.162 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4321, allocations: 0 / 1.162 GB, free: 14.62 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.4322, allocations: 91.27 kB / 1.162 GB, free: 14.53 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4322, allocations: 0 / 1.162 GB, free: 14.53 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002464/0.4324, allocations: 15.94 kB / 1.162 GB, free: 14.51 MB / 0.92 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.0001569/0.4326, allocations: 119.2 kB / 1.162 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.433, allocations: 91.86 kB / 1.162 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.433, allocations: 4 kB / 1.162 GB, free: 14.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4331, allocations: 39.97 kB / 1.162 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4335, allocations: 27.61 kB / 1.162 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.4339, allocations: 206.1 kB / 1.162 GB, free: 13.99 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.4341, allocations: 0.6848 MB / 1.163 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.4342, allocations: 11.44 kB / 1.163 GB, free: 13.27 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.4342, allocations: 4 kB / 1.163 GB, free: 13.27 MB / 0.92 GB Notification: Performance of Templates: time 0.002699/0.4369, allocations: 0.9101 MB / 1.164 GB, free: 12.36 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches