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.008399/0.0084, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001449/0.001449, allocations: 189 kB / 16.67 MB, free: 6.391 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.641/2.641, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.28 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3738, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002377/0.3763, allocations: 1.289 MB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.5454, allocations: 132 MB / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.5456, allocations: 0 / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.5457, allocations: 0 / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.5458, allocations: 7.922 kB / 1.218 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.5463, allocations: 51.73 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.5465, allocations: 31.84 kB / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.5466, allocations: 0 / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.5466, allocations: 4 kB / 1.218 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.5467, allocations: 11.92 kB / 1.218 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.5468, allocations: 8 kB / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.5469, allocations: 8 kB / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.5469, allocations: 7.984 kB / 1.218 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.5469, allocations: 11.94 kB / 1.218 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.5471, allocations: 23.91 kB / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.5471, allocations: 0 / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5471, allocations: 0 / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.5471, allocations: 0 / 1.218 GB, free: 11.49 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.0006973/0.5478, allocations: 331.5 kB / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5479, allocations: 12.03 kB / 1.219 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.548, allocations: 8.875 kB / 1.219 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.5482, allocations: 176.3 kB / 1.219 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.5483, allocations: 34.2 kB / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5483, allocations: 384 / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5485, allocations: 38.25 kB / 1.219 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5485, allocations: 3.938 kB / 1.219 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5485, allocations: 4 kB / 1.219 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5485, allocations: 0 / 1.219 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.5486, allocations: 19.98 kB / 1.219 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.5488, allocations: 153.7 kB / 1.219 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.549, allocations: 30.52 kB / 1.219 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.549, allocations: 16.94 kB / 1.219 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.5492, allocations: 89.09 kB / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.5493, allocations: 46.5 kB / 1.219 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5493, allocations: 0 / 1.219 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002692/0.5496, allocations: 53.62 kB / 1.219 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.5496, allocations: 55.39 kB / 1.219 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5497, allocations: 97.86 kB / 1.219 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.5498, allocations: 25.7 kB / 1.219 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.5498, allocations: 80.14 kB / 1.219 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.5499, allocations: 11.84 kB / 1.219 GB, free: 10 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.5499, allocations: 25.7 kB / 1.22 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5501, allocations: 310.8 kB / 1.22 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.5502, allocations: 4 kB / 1.22 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.5502, allocations: 7.984 kB / 1.22 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.5503, allocations: 24.84 kB / 1.22 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5503, allocations: 0 / 1.22 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001246/0.5505, allocations: 54.06 kB / 1.22 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5505, allocations: 9.5 kB / 1.22 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5505, allocations: 4 kB / 1.22 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5505, allocations: 0 / 1.22 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.5506, allocations: 7.938 kB / 1.22 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5506, allocations: 0 / 1.22 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.5507, allocations: 4.031 kB / 1.22 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5507, allocations: 11.98 kB / 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 0.0001016/0.5508, allocations: 105.8 kB / 1.22 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.5508, allocations: 11.88 kB / 1.22 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.551, allocations: 57.17 kB / 1.22 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.551, allocations: 0 / 1.22 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5511, allocations: 0 / 1.22 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5511, allocations: 0 / 1.22 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5512, allocations: 157.6 kB / 1.22 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5512, allocations: 0 / 1.22 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.5513, allocations: 4 kB / 1.22 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.5513, allocations: 11.88 kB / 1.22 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5513, allocations: 0 / 1.22 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5513, allocations: 4 kB / 1.22 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5513, allocations: 0 / 1.22 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5515, allocations: 77.11 kB / 1.22 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.5516, allocations: 81.02 kB / 1.22 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.5516, allocations: 3.938 kB / 1.22 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.5516, allocations: 7.984 kB / 1.22 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.5517, allocations: 0 / 1.22 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.5517, allocations: 12 kB / 1.22 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.5517, allocations: 79.28 kB / 1.221 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5517, allocations: 3.938 kB / 1.221 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001962/0.5519, allocations: 12 kB / 1.221 GB, free: 8.805 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.0002242/0.5522, allocations: 107.8 kB / 1.221 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.5523, allocations: 23.92 kB / 1.221 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5524, allocations: 0 / 1.221 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.5524, allocations: 15.98 kB / 1.221 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.5527, allocations: 11.98 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.0004629/0.5532, allocations: 131.7 kB / 1.221 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.5537, allocations: 0.6768 MB / 1.221 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.5537, allocations: 4 kB / 1.221 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.5537, allocations: 7.438 kB / 1.221 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.5537, allocations: 4 kB / 1.221 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of Templates: time 0.003022/0.5568, allocations: 0.507 MB / 1.222 GB, free: 7.262 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