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.001181/0.001181, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006507/0.006507, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.399/1.399, 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 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 7.562 kB / 0.9027 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001804/0.3246, allocations: 1.217 MB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1533/0.4779, allocations: 128.5 MB / 1.185 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.478, allocations: 0 / 1.185 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.4781, allocations: 3.984 kB / 1.185 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.4782, allocations: 7.938 kB / 1.185 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.4786, allocations: 59.8 kB / 1.185 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.4787, allocations: 59.7 kB / 1.185 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.4788, allocations: 12.22 kB / 1.185 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.4788, allocations: 19.92 kB / 1.185 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.4789, allocations: 23.91 kB / 1.185 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.4789, allocations: 4 kB / 1.186 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.479, allocations: 12 kB / 1.186 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.479, allocations: 7.922 kB / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.4791, allocations: 41.64 kB / 1.186 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.4793, allocations: 59.78 kB / 1.186 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4793, allocations: 0 / 1.186 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4793, allocations: 0 / 1.186 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4793, allocations: 0 / 1.186 GB, free: 2.465 MB / 0.9356 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.0005613/0.4799, allocations: 375.3 kB / 1.186 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4799, allocations: 15.97 kB / 1.186 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.48, allocations: 0.9375 kB / 1.186 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4801, allocations: 180.2 kB / 1.186 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.4801, allocations: 12.31 kB / 1.186 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4801, allocations: 4.359 kB / 1.186 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.4804, allocations: 86.22 kB / 1.186 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4804, allocations: 192 / 1.186 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4805, allocations: 3.938 kB / 1.186 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.4805, allocations: 0 / 1.186 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.4808, allocations: 87.92 kB / 1.186 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.4813, allocations: 292.7 kB / 1.187 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4815, allocations: 70.53 kB / 1.187 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4817, allocations: 48.92 kB / 1.187 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.4819, allocations: 89.09 kB / 1.187 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4819, allocations: 34.56 kB / 1.187 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4819, allocations: 0 / 1.187 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006251/0.4826, allocations: 169.4 kB / 1.187 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.4826, allocations: 51.41 kB / 1.187 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4827, allocations: 125.6 kB / 1.187 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.4828, allocations: 25.7 kB / 1.187 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.4828, allocations: 96.06 kB / 1.187 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.4829, allocations: 7.906 kB / 1.187 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.4829, allocations: 9.719 kB / 1.187 GB, free: 500 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.483, allocations: 322.8 kB / 1.188 GB, free: 168 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.4832, allocations: 39.95 kB / 1.188 GB, free: 128 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.4834, allocations: 43.97 kB / 1.188 GB, free: 84 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.4837, allocations: 96.78 kB / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4837, allocations: 0 / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003547/0.4841, allocations: 121.5 kB / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4841, allocations: 4 kB / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4841, allocations: 0 / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4841, allocations: 4 kB / 1.188 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4842, allocations: 27.97 kB / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4843, allocations: 0 / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.4844, allocations: 15.98 kB / 1.188 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.4844, allocations: 4 kB / 1.188 GB, free: 15.8 MB / 0.9512 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 8.626e-05/0.4845, allocations: 109.8 kB / 1.188 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4845, allocations: 4 kB / 1.188 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.4849, allocations: 137.4 kB / 1.188 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4849, allocations: 4.375 kB / 1.188 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4849, allocations: 3.984 kB / 1.188 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.485, allocations: 0 / 1.188 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.4851, allocations: 169.6 kB / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4851, allocations: 0 / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4853, allocations: 23.97 kB / 1.188 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4853, allocations: 11.92 kB / 1.188 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4853, allocations: 8 kB / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4853, allocations: 4 kB / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4853, allocations: 0 / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.4857, allocations: 215.4 kB / 1.189 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.4858, allocations: 85 kB / 1.189 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.4859, allocations: 4 kB / 1.189 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.486, allocations: 19.98 kB / 1.189 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.486, allocations: 4 kB / 1.189 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.486, allocations: 3.938 kB / 1.189 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.4861, allocations: 95.7 kB / 1.189 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4861, allocations: 0 / 1.189 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002347/0.4864, allocations: 19.94 kB / 1.189 GB, free: 14.8 MB / 0.9512 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.0001727/0.4865, allocations: 103.2 kB / 1.189 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.4869, allocations: 91.92 kB / 1.189 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4869, allocations: 4 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.4872, allocations: 55.89 kB / 1.189 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.4875, allocations: 7.938 kB / 1.189 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.4879, allocations: 184.5 kB / 1.189 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.4883, allocations: 0.6809 MB / 1.19 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.4884, allocations: 0 / 1.19 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.4884, allocations: 11.44 kB / 1.19 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.4884, allocations: 0 / 1.19 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of Templates: time 0.003638/0.4921, allocations: 0.8586 MB / 1.191 GB, free: 12.76 MB / 0.9512 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/jenkins/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