Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108 kB / 15.61 MB, free: 152 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.001423/0.001424, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.399/2.399, allocations: 390.2 MB / 0.6646 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8549, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002952/0.8579, allocations: 1.266 MB / 0.9508 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1932/1.051, allocations: 132 MB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/1.051, allocations: 0 / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/1.051, allocations: 0 / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/1.051, allocations: 7.922 kB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/1.052, allocations: 59.72 kB / 1.08 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/1.052, allocations: 23.81 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/1.052, allocations: 3.984 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/1.052, allocations: 12 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/1.052, allocations: 4 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/1.052, allocations: 3.938 kB / 1.08 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/1.052, allocations: 19.98 kB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/1.052, allocations: 0 / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/1.052, allocations: 7.984 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/1.052, allocations: 37.81 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.052, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.904e-06/1.052, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.052, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004541/1.053, allocations: 337 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.053, allocations: 12.03 kB / 1.08 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/1.053, allocations: 4.938 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.053, allocations: 172.3 kB / 1.08 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/1.053, allocations: 26.27 kB / 1.08 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/1.053, allocations: 4.375 kB / 1.08 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/1.053, allocations: 38.25 kB / 1.08 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.053, allocations: 3.938 kB / 1.08 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.053, allocations: 3.984 kB / 1.08 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/1.053, allocations: 0 / 1.08 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.653e-05/1.054, allocations: 12 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/1.054, allocations: 157.7 kB / 1.081 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/1.054, allocations: 34.55 kB / 1.081 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/1.054, allocations: 16.86 kB / 1.081 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/1.054, allocations: 93.12 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.054, allocations: 34.56 kB / 1.081 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/1.054, allocations: 0 / 1.081 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002457/1.054, allocations: 65.52 kB / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/1.054, allocations: 51.41 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/1.055, allocations: 101.8 kB / 1.081 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/1.055, allocations: 29.64 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/1.055, allocations: 80.14 kB / 1.081 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/1.055, allocations: 11.84 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/1.055, allocations: 17.72 kB / 1.081 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.055, allocations: 310.8 kB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/1.055, allocations: 11.98 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/1.055, allocations: 4 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/1.055, allocations: 25.31 kB / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.055, allocations: 0 / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001312/1.055, allocations: 53.67 kB / 1.082 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.055, allocations: 11.94 kB / 1.082 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.055, allocations: 3.984 kB / 1.082 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.055, allocations: 0 / 1.082 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/1.055, allocations: 7.938 kB / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.055, allocations: 0 / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/1.055, allocations: 4 kB / 1.082 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/1.055, allocations: 0 / 1.082 GB, free: 9.926 MB / 0.8419 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 9.135e-05/1.055, allocations: 105.8 kB / 1.082 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/1.055, allocations: 19.78 kB / 1.082 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/1.056, allocations: 61.16 kB / 1.082 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.056, allocations: 0 / 1.082 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.056, allocations: 0 / 1.082 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.056, allocations: 4 kB / 1.082 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/1.056, allocations: 157.7 kB / 1.082 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.056, allocations: 0 / 1.082 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/1.056, allocations: 11.92 kB / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.056, allocations: 3.938 kB / 1.082 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/1.056, allocations: 0 / 1.082 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.056, allocations: 4 kB / 1.082 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.056, allocations: 0 / 1.082 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/1.056, allocations: 73.06 kB / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/1.056, allocations: 93.09 kB / 1.082 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/1.056, allocations: 3.938 kB / 1.082 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/1.056, allocations: 0 / 1.082 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/1.056, allocations: 4 kB / 1.082 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/1.056, allocations: 7.984 kB / 1.082 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.403e-05/1.056, allocations: 75.28 kB / 1.082 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/1.056, allocations: 0 / 1.082 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002006/1.056, allocations: 12 kB / 1.082 GB, free: 9.195 MB / 0.8419 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.0001731/1.057, allocations: 111.2 kB / 1.082 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001479/1.057, allocations: 19.92 kB / 1.082 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.057, allocations: 0 / 1.082 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/1.057, allocations: 19.98 kB / 1.082 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/1.057, allocations: 4 kB / 1.082 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/1.057, allocations: 130 kB / 1.082 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/1.058, allocations: 0.6805 MB / 1.083 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.431e-05/1.058, allocations: 7.953 kB / 1.083 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/1.058, allocations: 11.44 kB / 1.083 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/1.058, allocations: 0 / 1.083 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.002852/1.061, allocations: 0.523 MB / 1.084 GB, free: 7.645 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches