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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007918/0.007918, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001307/0.001307, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 63.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7286, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003249/0.7318, allocations: 1.55 MB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1343/0.8662, allocations: 129.9 MB / 1.146 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.8663, allocations: 7.938 kB / 1.146 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.8663, allocations: 3.984 kB / 1.146 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.8664, allocations: 7.938 kB / 1.146 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.8667, allocations: 55.78 kB / 1.146 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.8668, allocations: 55.61 kB / 1.146 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.524e-05/0.8669, allocations: 13.97 kB / 1.146 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.867, allocations: 19.92 kB / 1.146 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.867, allocations: 27.91 kB / 1.146 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.8671, allocations: 4 kB / 1.146 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.8671, allocations: 16 kB / 1.146 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.8672, allocations: 11.92 kB / 1.146 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.8672, allocations: 23.86 kB / 1.146 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.8673, allocations: 39.88 kB / 1.146 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8673, allocations: 0 / 1.146 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8674, allocations: 0 / 1.146 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8674, allocations: 0 / 1.146 GB, free: 14.5 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.0005585/0.8679, allocations: 376.7 kB / 1.146 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.868, allocations: 8.031 kB / 1.146 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.868, allocations: 8.844 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.8682, allocations: 180.2 kB / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.8682, allocations: 4.375 kB / 1.146 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.8682, allocations: 384 / 1.146 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.8685, allocations: 74.22 kB / 1.147 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8685, allocations: 192 / 1.147 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8685, allocations: 7.938 kB / 1.147 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.8685, allocations: 3.984 kB / 1.147 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.8688, allocations: 59.94 kB / 1.147 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.8692, allocations: 292.8 kB / 1.147 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.8694, allocations: 58.53 kB / 1.147 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.8696, allocations: 32.92 kB / 1.147 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.8698, allocations: 89.09 kB / 1.147 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.8698, allocations: 38.56 kB / 1.147 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 3.407e-06/0.8698, allocations: 0 / 1.147 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005268/0.8703, allocations: 133.4 kB / 1.147 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.8704, allocations: 55.41 kB / 1.147 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.8705, allocations: 117.8 kB / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.8705, allocations: 25.7 kB / 1.147 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.8706, allocations: 88.12 kB / 1.148 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.8706, allocations: 15.84 kB / 1.148 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.8706, allocations: 13.66 kB / 1.148 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8708, allocations: 326.8 kB / 1.148 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.8709, allocations: 31.97 kB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.8711, allocations: 35.95 kB / 1.148 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.8713, allocations: 64.73 kB / 1.148 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8714, allocations: 0 / 1.148 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003385/0.8717, allocations: 109.5 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.8717, allocations: 4 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.8717, allocations: 0 / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.8717, allocations: 4 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.8719, allocations: 15.98 kB / 1.148 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8719, allocations: 0 / 1.148 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.872, allocations: 15.92 kB / 1.148 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.872, allocations: 4 kB / 1.148 GB, free: 12.01 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 7.356e-05/0.8721, allocations: 121.8 kB / 1.148 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.8721, allocations: 4.234 kB / 1.148 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.8725, allocations: 113.4 kB / 1.148 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8725, allocations: 0 / 1.148 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8725, allocations: 4 kB / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.8725, allocations: 0 / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.8727, allocations: 177.6 kB / 1.149 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8727, allocations: 0 / 1.149 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.8728, allocations: 11.98 kB / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.8728, allocations: 4 kB / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-06/0.8728, allocations: 0 / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8728, allocations: 0 / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.8729, allocations: 0 / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.8732, allocations: 203.2 kB / 1.149 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.8733, allocations: 85.11 kB / 1.149 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.8733, allocations: 0 / 1.149 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8734, allocations: 11.98 kB / 1.149 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.8735, allocations: 3.984 kB / 1.149 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.8735, allocations: 4 kB / 1.149 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.8735, allocations: 99.2 kB / 1.149 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8735, allocations: 0 / 1.149 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002467/0.8738, allocations: 20 kB / 1.149 GB, free: 11.06 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.0001572/0.874, allocations: 107.2 kB / 1.149 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.8743, allocations: 71.92 kB / 1.149 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8743, allocations: 0 / 1.149 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.8745, allocations: 35.91 kB / 1.149 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.8748, allocations: 23.86 kB / 1.149 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.8752, allocations: 199.1 kB / 1.149 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.8754, allocations: 0.6809 MB / 1.15 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.8755, allocations: 7.438 kB / 1.15 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8755, allocations: 0 / 1.15 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of Templates: time 0.002379/0.8779, allocations: 0.9242 MB / 1.151 GB, free: 8.957 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=480 -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/jenkins1/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