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 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.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.00902/0.00902, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001958/0.001958, allocations: 195.7 kB / 16.67 MB, free: 6.352 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7453 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 159.9 MB / 1.226 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002732/0.3264, allocations: 1.488 MB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8332/1.16, allocations: 132.1 MB / 1.356 GB, free: 5.598 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/1.16, allocations: 1.406 kB / 1.356 GB, free: 5.598 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.938e-05/1.16, allocations: 8.688 kB / 1.356 GB, free: 5.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/1.16, allocations: 6.156 kB / 1.356 GB, free: 5.586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/1.16, allocations: 69.48 kB / 1.356 GB, free: 5.551 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/1.161, allocations: 56.72 kB / 1.356 GB, free: 5.527 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/1.161, allocations: 13.27 kB / 1.356 GB, free: 5.523 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/1.161, allocations: 18.55 kB / 1.356 GB, free: 5.516 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/1.161, allocations: 29.31 kB / 1.356 GB, free: 5.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/1.161, allocations: 4.406 kB / 1.356 GB, free: 5.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/1.161, allocations: 17.67 kB / 1.356 GB, free: 5.496 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/1.161, allocations: 15.53 kB / 1.356 GB, free: 5.484 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/1.161, allocations: 27.92 kB / 1.356 GB, free: 5.465 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/1.161, allocations: 55.41 kB / 1.356 GB, free: 5.449 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.161, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/1.161, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.059e-06/1.161, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.061 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.0005442/1.162, allocations: 378 kB / 1.357 GB, free: 5.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.162, allocations: 9.5 kB / 1.357 GB, free: 5.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/1.162, allocations: 3.438 kB / 1.357 GB, free: 5.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.162, allocations: 174.7 kB / 1.357 GB, free: 4.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/1.162, allocations: 5.594 kB / 1.357 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.162, allocations: 3.234 kB / 1.357 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/1.162, allocations: 79.81 kB / 1.357 GB, free: 4.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.162, allocations: 1.375 kB / 1.357 GB, free: 4.816 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.162, allocations: 7.938 kB / 1.357 GB, free: 4.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.162, allocations: 5.25 kB / 1.357 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/1.163, allocations: 69.42 kB / 1.357 GB, free: 4.793 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/1.163, allocations: 279 kB / 1.357 GB, free: 4.508 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/1.163, allocations: 63.14 kB / 1.357 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.163, allocations: 41.47 kB / 1.357 GB, free: 4.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/1.164, allocations: 90.36 kB / 1.357 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.164, allocations: 30.56 kB / 1.357 GB, free: 4.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/1.164, allocations: 7.938 kB / 1.357 GB, free: 4.312 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005576/1.164, allocations: 130.5 kB / 1.358 GB, free: 4.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.164, allocations: 52.66 kB / 1.358 GB, free: 4.203 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.164, allocations: 122.8 kB / 1.358 GB, free: 4.094 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/1.164, allocations: 33.64 kB / 1.358 GB, free: 4.055 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/1.164, allocations: 88.7 kB / 1.358 GB, free: 3.969 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.164, allocations: 10.16 kB / 1.358 GB, free: 3.961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/1.164, allocations: 12.59 kB / 1.358 GB, free: 3.945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.165, allocations: 323 kB / 1.358 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/1.165, allocations: 30.67 kB / 1.358 GB, free: 3.621 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/1.165, allocations: 37.09 kB / 1.358 GB, free: 3.613 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/1.165, allocations: 66.84 kB / 1.358 GB, free: 3.598 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.165, allocations: 0 / 1.358 GB, free: 3.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003289/1.166, allocations: 107.6 kB / 1.358 GB, free: 3.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.166, allocations: 8.078 kB / 1.358 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.166, allocations: 0 / 1.358 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/1.166, allocations: 0 / 1.358 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/1.166, allocations: 19.8 kB / 1.358 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.166, allocations: 0.8906 kB / 1.358 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/1.166, allocations: 18.67 kB / 1.359 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/1.166, allocations: 1.094 kB / 1.359 GB, free: 3.539 MB / 1.061 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.702e-05/1.166, allocations: 120 kB / 1.359 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/1.166, allocations: 6.688 kB / 1.359 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/1.166, allocations: 105.5 kB / 1.359 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.166, allocations: 1.219 kB / 1.359 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.166, allocations: 0.6094 kB / 1.359 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.166, allocations: 3.938 kB / 1.359 GB, free: 3.352 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/1.167, allocations: 178.1 kB / 1.359 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.167, allocations: 0.6562 kB / 1.359 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/1.167, allocations: 19.05 kB / 1.359 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/1.167, allocations: 1.094 kB / 1.359 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/1.167, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.167, allocations: 1.734 kB / 1.359 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.167, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/1.167, allocations: 199.9 kB / 1.359 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/1.167, allocations: 82.72 kB / 1.359 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/1.167, allocations: 2.859 kB / 1.359 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/1.167, allocations: 10.67 kB / 1.359 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/1.167, allocations: 3.5 kB / 1.359 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.167, allocations: 1.703 kB / 1.359 GB, free: 2.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.925e-05/1.167, allocations: 100.2 kB / 1.359 GB, free: 2.812 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/1.167, allocations: 0 / 1.359 GB, free: 2.812 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002406/1.168, allocations: 16.31 kB / 1.359 GB, free: 2.809 MB / 1.061 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.0001679/1.168, allocations: 117.4 kB / 1.359 GB, free: 2.711 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003593/1.168, allocations: 71.08 kB / 1.36 GB, free: 2.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.168, allocations: 4 kB / 1.36 GB, free: 2.695 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/1.168, allocations: 35.73 kB / 1.36 GB, free: 2.691 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/1.169, allocations: 19.48 kB / 1.36 GB, free: 2.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/1.169, allocations: 167.6 kB / 1.36 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.169, allocations: 0.6862 MB / 1.36 GB, free: 1.844 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.759e-05/1.169, allocations: 3.875 kB / 1.36 GB, free: 1.844 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/1.17, allocations: 10.27 kB / 1.36 GB, free: 1.836 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.17, allocations: 0 / 1.36 GB, free: 1.836 MB / 1.061 GB Notification: Performance of Templates: time 0.003593/1.173, allocations: 1.001 MB / 1.361 GB, free: 1.738 MB / 1.061 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