Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, 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.001863/0.001863, allocations: 195.5 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.834/2.834, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.89 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6628, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003173/0.666, allocations: 1.491 MB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.8284, allocations: 132.1 MB / 1.148 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.8285, allocations: 0 / 1.148 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.8286, allocations: 7.875 kB / 1.148 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.8287, allocations: 7.875 kB / 1.148 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.8291, allocations: 63.7 kB / 1.148 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.8292, allocations: 63.61 kB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.8293, allocations: 17.97 kB / 1.148 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.8294, allocations: 19.92 kB / 1.148 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.8294, allocations: 23.91 kB / 1.148 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.8294, allocations: 4 kB / 1.148 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.8295, allocations: 20 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.8296, allocations: 7.984 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.8296, allocations: 27.86 kB / 1.148 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.8297, allocations: 55.75 kB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8298, allocations: 4 kB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8298, allocations: 4 kB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8298, allocations: 0 / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006322/0.8304, allocations: 371.3 kB / 1.148 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8305, allocations: 8.031 kB / 1.148 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.8305, allocations: 8.844 kB / 1.148 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.8306, allocations: 176.2 kB / 1.149 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8307, allocations: 4.375 kB / 1.149 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.8307, allocations: 4.375 kB / 1.149 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.831, allocations: 70.22 kB / 1.149 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.831, allocations: 4.188 kB / 1.149 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.831, allocations: 3.938 kB / 1.149 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.831, allocations: 4 kB / 1.149 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.8313, allocations: 71.92 kB / 1.149 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.8317, allocations: 288.7 kB / 1.149 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.832, allocations: 54.53 kB / 1.149 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.8322, allocations: 40.92 kB / 1.149 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.8324, allocations: 89.09 kB / 1.149 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.8324, allocations: 30.56 kB / 1.149 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.8324, allocations: 4 kB / 1.149 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0006025/0.833, allocations: 141.4 kB / 1.149 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.8331, allocations: 51.41 kB / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.8332, allocations: 117.8 kB / 1.15 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.8332, allocations: 25.7 kB / 1.15 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.8333, allocations: 92.12 kB / 1.15 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.8333, allocations: 7.906 kB / 1.15 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.8334, allocations: 17.59 kB / 1.15 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8336, allocations: 326.8 kB / 1.15 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8337, allocations: 31.95 kB / 1.15 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.8339, allocations: 31.97 kB / 1.15 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.8342, allocations: 72.72 kB / 1.15 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8342, allocations: 0 / 1.15 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003429/0.8345, allocations: 101.5 kB / 1.15 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8346, allocations: 4 kB / 1.15 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8346, allocations: 3.984 kB / 1.15 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8346, allocations: 0 / 1.15 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8347, allocations: 19.98 kB / 1.15 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8347, allocations: 0 / 1.15 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.8348, allocations: 15.92 kB / 1.15 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.8348, allocations: 0 / 1.15 GB, free: 9.594 MB / 0.9044 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.905e-05/0.835, allocations: 113.8 kB / 1.15 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.835, allocations: 7.906 kB / 1.15 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.8354, allocations: 117.4 kB / 1.15 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8354, allocations: 0 / 1.15 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8354, allocations: 0 / 1.15 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8354, allocations: 0 / 1.15 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.8356, allocations: 173.6 kB / 1.151 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8356, allocations: 0 / 1.151 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.8357, allocations: 15.97 kB / 1.151 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8358, allocations: 0 / 1.151 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.8358, allocations: 4 kB / 1.151 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8358, allocations: 4 kB / 1.151 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8358, allocations: 0 / 1.151 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.8362, allocations: 195.4 kB / 1.151 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.8363, allocations: 89 kB / 1.151 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.8363, allocations: 0 / 1.151 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.8364, allocations: 15.98 kB / 1.151 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.8365, allocations: 4 kB / 1.151 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.8365, allocations: 4 kB / 1.151 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.8366, allocations: 99.2 kB / 1.151 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8366, allocations: 0 / 1.151 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002403/0.8368, allocations: 16 kB / 1.151 GB, free: 8.648 MB / 0.9044 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.0001939/0.837, allocations: 103.2 kB / 1.151 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.8374, allocations: 72.34 kB / 1.151 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8374, allocations: 0 / 1.151 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.8376, allocations: 39.89 kB / 1.151 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.8379, allocations: 20.06 kB / 1.151 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.8383, allocations: 163.8 kB / 1.151 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.8387, allocations: 0.6884 MB / 1.152 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.8388, allocations: 12.23 kB / 1.152 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.8388, allocations: 7.438 kB / 1.152 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.8388, allocations: 0 / 1.152 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of Templates: time 0.004343/0.8431, allocations: 0.9954 MB / 1.153 GB, free: 6.508 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches