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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001781/0.00178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001871/0.001871, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 61.14 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3636, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002796/0.3665, allocations: 1.556 MB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.517, allocations: 129.9 MB / 1.18 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.5171, allocations: 0 / 1.18 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.5172, allocations: 0 / 1.18 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.5174, allocations: 11.92 kB / 1.18 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.5179, allocations: 63.78 kB / 1.181 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.5181, allocations: 51.73 kB / 1.181 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.5182, allocations: 24.2 kB / 1.181 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.5183, allocations: 19.92 kB / 1.181 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.5184, allocations: 19.92 kB / 1.181 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.5184, allocations: 0 / 1.181 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.5185, allocations: 19.98 kB / 1.181 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.5186, allocations: 11.92 kB / 1.181 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.5186, allocations: 19.86 kB / 1.181 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.5188, allocations: 55.81 kB / 1.181 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5188, allocations: 4 kB / 1.181 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5189, allocations: 0 / 1.181 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.5189, allocations: 0 / 1.181 GB, free: 4.531 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.0006215/0.5195, allocations: 375.3 kB / 1.181 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5196, allocations: 8.031 kB / 1.181 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.5196, allocations: 12.83 kB / 1.181 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.5198, allocations: 176.2 kB / 1.181 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5198, allocations: 384 / 1.181 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.5198, allocations: 8.375 kB / 1.181 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.5201, allocations: 74.19 kB / 1.181 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.5201, allocations: 4.188 kB / 1.181 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.5201, allocations: 7.938 kB / 1.181 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5201, allocations: 0 / 1.181 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.5204, allocations: 67.92 kB / 1.181 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.5209, allocations: 280.8 kB / 1.182 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.5211, allocations: 54.55 kB / 1.182 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.5213, allocations: 40.91 kB / 1.182 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.5215, allocations: 89.09 kB / 1.182 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.5215, allocations: 38.56 kB / 1.182 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5216, allocations: 0 / 1.182 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006015/0.5222, allocations: 133.4 kB / 1.182 GB, free: 3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.5222, allocations: 51.41 kB / 1.182 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.5223, allocations: 125.6 kB / 1.182 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.5224, allocations: 29.7 kB / 1.182 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.5225, allocations: 88.08 kB / 1.182 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.5225, allocations: 11.81 kB / 1.182 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.5226, allocations: 21.7 kB / 1.182 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5228, allocations: 318.8 kB / 1.183 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.523, allocations: 27.97 kB / 1.183 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5231, allocations: 35.95 kB / 1.183 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.5234, allocations: 72.72 kB / 1.183 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5234, allocations: 4 kB / 1.183 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003441/0.5238, allocations: 93.62 kB / 1.183 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5238, allocations: 4 kB / 1.183 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.5238, allocations: 0 / 1.183 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5238, allocations: 0 / 1.183 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.524, allocations: 23.92 kB / 1.183 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.524, allocations: 3.984 kB / 1.183 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.5241, allocations: 11.98 kB / 1.183 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.5241, allocations: 0 / 1.183 GB, free: 2.039 MB / 0.9356 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.76e-05/0.5242, allocations: 119.3 kB / 1.183 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.5242, allocations: 3.906 kB / 1.183 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.5246, allocations: 113.8 kB / 1.183 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5246, allocations: 4.031 kB / 1.183 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5246, allocations: 0 / 1.183 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5246, allocations: 4 kB / 1.183 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.5248, allocations: 173.6 kB / 1.183 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5249, allocations: 4 kB / 1.183 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-05/0.5249, allocations: 11.98 kB / 1.183 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.525, allocations: 4 kB / 1.183 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.525, allocations: 4 kB / 1.183 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.525, allocations: 3.984 kB / 1.183 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.525, allocations: 0 / 1.183 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.5254, allocations: 199.3 kB / 1.184 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.5254, allocations: 81.11 kB / 1.184 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5255, allocations: 4 kB / 1.184 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5256, allocations: 15.97 kB / 1.184 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.5256, allocations: 4 kB / 1.184 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.5257, allocations: 3.938 kB / 1.184 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.477e-05/0.5257, allocations: 95.27 kB / 1.184 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5257, allocations: 0 / 1.184 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002443/0.526, allocations: 19.94 kB / 1.184 GB, free: 1.086 MB / 0.9356 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.0001787/0.5262, allocations: 107.2 kB / 1.184 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.5265, allocations: 67.92 kB / 1.184 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5265, allocations: 0 / 1.184 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.5267, allocations: 39.89 kB / 1.184 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.5271, allocations: 23.64 kB / 1.184 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.5275, allocations: 165.5 kB / 1.184 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5278, allocations: 0.6848 MB / 1.185 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.5278, allocations: 7.984 kB / 1.185 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.5279, allocations: 11.44 kB / 1.185 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of SimCode: time 7.52e-07/0.5279, allocations: 0 / 1.185 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.003351/0.5313, allocations: 0.849 MB / 1.186 GB, free: 15.09 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