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.009244/0.009244, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001472/0.001471, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.483/2.483, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 66.92 kB / 0.9508 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3575, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00239/0.3599, allocations: 1.275 MB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.5298, allocations: 132 MB / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.5299, allocations: 0 / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.53, allocations: 0 / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.5301, allocations: 3.938 kB / 1.218 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.5305, allocations: 55.72 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.5306, allocations: 27.86 kB / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.5307, allocations: 3.984 kB / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.5307, allocations: 12 kB / 1.218 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.5308, allocations: 15.92 kB / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.5308, allocations: 0 / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.421e-05/0.5309, allocations: 12 kB / 1.218 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.531, allocations: 0 / 1.218 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.531, allocations: 11.92 kB / 1.218 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.5311, allocations: 27.91 kB / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.5311, allocations: 0 / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5311, allocations: 3.938 kB / 1.218 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5312, allocations: 0 / 1.218 GB, free: 11.48 MB / 0.9825 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.0004511/0.5316, allocations: 339.4 kB / 1.219 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5317, allocations: 12.03 kB / 1.219 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.5317, allocations: 0.9375 kB / 1.219 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5318, allocations: 168.3 kB / 1.219 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.5319, allocations: 34.25 kB / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.5319, allocations: 4.375 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.5321, allocations: 42.25 kB / 1.219 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5321, allocations: 7.875 kB / 1.219 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5321, allocations: 0 / 1.219 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5321, allocations: 0 / 1.219 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.5322, allocations: 15.98 kB / 1.219 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.5324, allocations: 149.7 kB / 1.219 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5325, allocations: 34.55 kB / 1.219 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.5326, allocations: 20.94 kB / 1.219 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.5327, allocations: 89.11 kB / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5328, allocations: 38.55 kB / 1.219 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5328, allocations: 0 / 1.219 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002442/0.533, allocations: 57.58 kB / 1.219 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5331, allocations: 55.34 kB / 1.219 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.5332, allocations: 101.8 kB / 1.219 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5332, allocations: 25.7 kB / 1.219 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.5332, allocations: 84.14 kB / 1.219 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.5333, allocations: 11.89 kB / 1.22 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.5333, allocations: 17.72 kB / 1.22 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5334, allocations: 314.8 kB / 1.22 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.5335, allocations: 4 kB / 1.22 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.5335, allocations: 8 kB / 1.22 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/0.5336, allocations: 24.84 kB / 1.22 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5336, allocations: 0 / 1.22 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/0.5337, allocations: 54.14 kB / 1.22 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5338, allocations: 11.94 kB / 1.22 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5338, allocations: 3.938 kB / 1.22 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5338, allocations: 0 / 1.22 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.5339, allocations: 7.938 kB / 1.22 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5339, allocations: 0 / 1.22 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.5339, allocations: 4 kB / 1.22 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5339, allocations: 0 / 1.22 GB, free: 9.527 MB / 0.9825 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.186e-05/0.534, allocations: 113.8 kB / 1.22 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.534, allocations: 15.92 kB / 1.22 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.5342, allocations: 53.19 kB / 1.22 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5342, allocations: 3.984 kB / 1.22 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5342, allocations: 0 / 1.22 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5342, allocations: 0 / 1.22 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5344, allocations: 149.7 kB / 1.22 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5344, allocations: 3.984 kB / 1.22 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.5344, allocations: 11.94 kB / 1.22 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.5344, allocations: 3.938 kB / 1.22 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.5344, allocations: 4 kB / 1.22 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5344, allocations: 0 / 1.22 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5344, allocations: 7.922 kB / 1.22 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.5346, allocations: 73.11 kB / 1.22 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.5347, allocations: 81.11 kB / 1.22 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5347, allocations: 11.94 kB / 1.22 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.5347, allocations: 0 / 1.22 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.5348, allocations: 7.984 kB / 1.22 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5348, allocations: 4 kB / 1.22 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.5348, allocations: 75.28 kB / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5348, allocations: 0 / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001909/0.535, allocations: 11.94 kB / 1.221 GB, free: 8.801 MB / 0.9825 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.0001541/0.5352, allocations: 115.7 kB / 1.221 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.5353, allocations: 15.98 kB / 1.221 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5353, allocations: 8 kB / 1.221 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.5354, allocations: 11.98 kB / 1.221 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.5356, allocations: 5.406 kB / 1.221 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.5359, allocations: 127.6 kB / 1.221 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5361, allocations: 0.6768 MB / 1.221 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.5362, allocations: 8 kB / 1.221 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.5362, allocations: 11.38 kB / 1.221 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.5362, allocations: 0 / 1.221 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.002688/0.5389, allocations: 0.521 MB / 1.222 GB, free: 7.254 MB / 0.9825 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