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.001373/0.001373, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001452/0.001452, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.333/2.333, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.038, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002296/1.04, allocations: 1.27 MB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1647/1.205, allocations: 132 MB / 1.219 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/1.205, allocations: 0 / 1.219 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/1.205, allocations: 1.719 kB / 1.219 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/1.205, allocations: 3.938 kB / 1.219 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/1.206, allocations: 60.09 kB / 1.219 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.361e-05/1.206, allocations: 17.88 kB / 1.219 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/1.206, allocations: 10.44 kB / 1.219 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/1.206, allocations: 12.88 kB / 1.219 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/1.206, allocations: 4.219 kB / 1.219 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/1.206, allocations: 0.7812 kB / 1.219 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/1.206, allocations: 15.52 kB / 1.219 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/1.206, allocations: 0.75 kB / 1.219 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/1.206, allocations: 7.594 kB / 1.219 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/1.206, allocations: 40.33 kB / 1.219 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.206, allocations: 5.438 kB / 1.219 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/1.207, allocations: 0 / 1.219 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.207, allocations: 3.938 kB / 1.219 GB, free: 2.387 MB / 0.9512 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.0004794/1.207, allocations: 327.1 kB / 1.219 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.207, allocations: 9.562 kB / 1.219 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/1.207, allocations: 2 kB / 1.219 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.207, allocations: 176.4 kB / 1.219 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/1.207, allocations: 32.53 kB / 1.219 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/1.207, allocations: 5.406 kB / 1.219 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/1.207, allocations: 40.56 kB / 1.22 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.207, allocations: 3.938 kB / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.208, allocations: 0 / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.208, allocations: 1.344 kB / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/1.208, allocations: 6.781 kB / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/1.208, allocations: 154.1 kB / 1.22 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.989e-05/1.208, allocations: 39.45 kB / 1.22 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/1.208, allocations: 13.89 kB / 1.22 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/1.208, allocations: 90.03 kB / 1.22 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.208, allocations: 35.69 kB / 1.22 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/1.208, allocations: 0 / 1.22 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002464/1.208, allocations: 59.83 kB / 1.22 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.209, allocations: 55.41 kB / 1.22 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/1.209, allocations: 101.6 kB / 1.22 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.209, allocations: 29.64 kB / 1.22 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/1.209, allocations: 81.2 kB / 1.22 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/1.209, allocations: 13.12 kB / 1.22 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/1.209, allocations: 12.59 kB / 1.22 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.209, allocations: 312.4 kB / 1.22 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/1.209, allocations: 15.58 kB / 1.221 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/1.209, allocations: 5.594 kB / 1.221 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/1.209, allocations: 21.66 kB / 1.221 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.209, allocations: 5.344 kB / 1.221 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001282/1.209, allocations: 55.66 kB / 1.221 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.209, allocations: 11.31 kB / 1.221 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.209, allocations: 0 / 1.221 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.209, allocations: 1.344 kB / 1.221 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/1.209, allocations: 12.81 kB / 1.221 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.209, allocations: 0 / 1.221 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/1.209, allocations: 2.125 kB / 1.221 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.209, allocations: 5.234 kB / 1.221 GB, free: 0.582 MB / 0.9512 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.396e-05/1.209, allocations: 107.2 kB / 1.221 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/1.209, allocations: 9.203 kB / 1.221 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/1.21, allocations: 58.33 kB / 1.221 GB, free: 416 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.21, allocations: 1.281 kB / 1.221 GB, free: 416 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.21, allocations: 7.938 kB / 1.221 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.21, allocations: 3.984 kB / 1.221 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/1.21, allocations: 150.3 kB / 1.221 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.21, allocations: 0 / 1.221 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/1.21, allocations: 13.8 kB / 1.221 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.21, allocations: 3.938 kB / 1.221 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.21, allocations: 0 / 1.221 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.21, allocations: 1.094 kB / 1.221 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.21, allocations: 0 / 1.221 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/1.21, allocations: 76.86 kB / 1.221 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/1.21, allocations: 86.8 kB / 1.221 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/1.21, allocations: 3.938 kB / 1.221 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/1.21, allocations: 1.562 kB / 1.221 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/1.21, allocations: 5.609 kB / 1.221 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/1.21, allocations: 1.094 kB / 1.221 GB, free: 4 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.099e-05/1.21, allocations: 77.72 kB / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.21, allocations: 0 / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002039/1.211, allocations: 12.97 kB / 1.221 GB, free: 15.93 MB / 0.9669 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.0001753/1.211, allocations: 111 kB / 1.221 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001413/1.211, allocations: 20.86 kB / 1.221 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.211, allocations: 0 / 1.221 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/1.211, allocations: 16.08 kB / 1.221 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/1.211, allocations: 15.5 kB / 1.221 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/1.212, allocations: 157.7 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/1.212, allocations: 0.6765 MB / 1.222 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/1.212, allocations: 10.09 kB / 1.222 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/1.212, allocations: 0 / 1.222 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of Templates: time 0.002064/1.214, allocations: 0.5684 MB / 1.223 GB, free: 14.66 MB / 0.9669 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/jenkins1/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