Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_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_latest_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.008389/0.008389, allocations: 99.25 kB / 15.73 MB, free: 5.594 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.001832/0.001832, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9864/0.9878, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002548/0.9904, allocations: 1.277 MB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1583/1.149, allocations: 132 MB / 1.338 GB, free: 7.852 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/1.149, allocations: 0 / 1.338 GB, free: 7.852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/1.149, allocations: 7.938 kB / 1.338 GB, free: 7.844 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/1.149, allocations: 7.984 kB / 1.338 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/1.149, allocations: 63.53 kB / 1.338 GB, free: 7.777 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.537e-05/1.149, allocations: 19.77 kB / 1.338 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/1.149, allocations: 7.984 kB / 1.338 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/1.15, allocations: 7.938 kB / 1.338 GB, free: 7.746 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/1.15, allocations: 8 kB / 1.338 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/1.15, allocations: 3.938 kB / 1.338 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/1.15, allocations: 11.98 kB / 1.338 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/1.15, allocations: 11.98 kB / 1.338 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/1.15, allocations: 4 kB / 1.338 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/1.15, allocations: 31.56 kB / 1.338 GB, free: 7.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.15, allocations: 4 kB / 1.338 GB, free: 7.676 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/1.15, allocations: 0 / 1.338 GB, free: 7.676 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.15, allocations: 0 / 1.338 GB, free: 7.676 MB / 1.061 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.0004821/1.15, allocations: 327.6 kB / 1.338 GB, free: 7.305 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.15, allocations: 8.031 kB / 1.338 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/1.151, allocations: 8.844 kB / 1.338 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.151, allocations: 166.4 kB / 1.339 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/1.151, allocations: 30.27 kB / 1.339 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/1.151, allocations: 4.312 kB / 1.339 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/1.151, allocations: 42.19 kB / 1.339 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.151, allocations: 7.922 kB / 1.339 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.151, allocations: 4 kB / 1.339 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.151, allocations: 0 / 1.339 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/1.151, allocations: 8 kB / 1.339 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/1.151, allocations: 157.7 kB / 1.339 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.151, allocations: 30.61 kB / 1.339 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/1.151, allocations: 12.86 kB / 1.339 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/1.152, allocations: 93.12 kB / 1.339 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.152, allocations: 34.5 kB / 1.339 GB, free: 6.574 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.152, allocations: 8 kB / 1.339 GB, free: 6.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002537/1.152, allocations: 57.61 kB / 1.339 GB, free: 6.504 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.152, allocations: 51.41 kB / 1.339 GB, free: 6.441 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/1.152, allocations: 101.8 kB / 1.339 GB, free: 6.332 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/1.152, allocations: 25.7 kB / 1.339 GB, free: 6.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/1.152, allocations: 80.14 kB / 1.339 GB, free: 6.219 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/1.152, allocations: 15.75 kB / 1.339 GB, free: 6.203 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/1.152, allocations: 13.72 kB / 1.339 GB, free: 6.184 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.152, allocations: 318.8 kB / 1.34 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/1.152, allocations: 7.984 kB / 1.34 GB, free: 5.855 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/1.152, allocations: 4 kB / 1.34 GB, free: 5.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/1.153, allocations: 25.25 kB / 1.34 GB, free: 5.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.153, allocations: 0 / 1.34 GB, free: 5.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001143/1.153, allocations: 53.67 kB / 1.34 GB, free: 5.766 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.153, allocations: 11.92 kB / 1.34 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.153, allocations: 4 kB / 1.34 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.153, allocations: 0 / 1.34 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/1.153, allocations: 8 kB / 1.34 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.153, allocations: 0 / 1.34 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/1.153, allocations: 4 kB / 1.34 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.153, allocations: 0 / 1.34 GB, free: 5.738 MB / 1.061 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.969e-05/1.153, allocations: 109.8 kB / 1.34 GB, free: 5.621 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/1.153, allocations: 7.875 kB / 1.34 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/1.153, allocations: 65.17 kB / 1.34 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.153, allocations: 0 / 1.34 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.153, allocations: 4 kB / 1.34 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.153, allocations: 0 / 1.34 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/1.153, allocations: 153.7 kB / 1.34 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.153, allocations: 0 / 1.34 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/1.153, allocations: 7.984 kB / 1.34 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.153, allocations: 3.938 kB / 1.34 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.153, allocations: 11.94 kB / 1.34 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.153, allocations: 0 / 1.34 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.153, allocations: 4 kB / 1.34 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/1.154, allocations: 80.91 kB / 1.34 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/1.154, allocations: 81.09 kB / 1.34 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/1.154, allocations: 3.938 kB / 1.34 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/1.154, allocations: 4 kB / 1.34 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/1.154, allocations: 4 kB / 1.34 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.154, allocations: 3.984 kB / 1.34 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.116e-05/1.154, allocations: 83.28 kB / 1.34 GB, free: 5.016 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.154, allocations: 0 / 1.34 GB, free: 5.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002074/1.154, allocations: 12 kB / 1.34 GB, free: 5.004 MB / 1.061 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.0002124/1.154, allocations: 107.2 kB / 1.34 GB, free: 4.887 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001767/1.154, allocations: 23.92 kB / 1.34 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.154, allocations: 0 / 1.34 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.84e-05/1.155, allocations: 11.98 kB / 1.34 GB, free: 4.852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.155, allocations: 16 kB / 1.34 GB, free: 4.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/1.155, allocations: 123.7 kB / 1.341 GB, free: 4.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/1.155, allocations: 0.6768 MB / 1.341 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.321e-05/1.156, allocations: 4 kB / 1.341 GB, free: 3.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/1.156, allocations: 11.44 kB / 1.341 GB, free: 3.973 MB / 1.061 GB Notification: Performance of SimCode: time 2.2e-07/1.156, allocations: 0 / 1.341 GB, free: 3.973 MB / 1.061 GB Notification: Performance of Templates: time 0.00265/1.158, allocations: 0.5221 MB / 1.342 GB, free: 3.453 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches