Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_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_9_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.001209/0.001209, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001483/0.001483, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.538/2.538, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8344, allocations: 140.3 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003267/0.8377, allocations: 1.556 MB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.9979, allocations: 130.1 MB / 1.078 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.998, allocations: 0 / 1.078 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.998, allocations: 3.938 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.9982, allocations: 7.922 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.9986, allocations: 55.78 kB / 1.078 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.9987, allocations: 55.8 kB / 1.078 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.9988, allocations: 21.95 kB / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.9988, allocations: 19.81 kB / 1.078 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.9989, allocations: 27.84 kB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.9989, allocations: 4 kB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.999, allocations: 19.98 kB / 1.078 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.999, allocations: 4 kB / 1.078 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.9991, allocations: 27.86 kB / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.9992, allocations: 59.81 kB / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.9992, allocations: 0 / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.51e-07/0.9992, allocations: 4 kB / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.9992, allocations: 0 / 1.078 GB, free: 13.6 MB / 0.8419 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.0005713/0.9998, allocations: 375.2 kB / 1.078 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.9999, allocations: 11.97 kB / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.9999, allocations: 8.844 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1, allocations: 168.3 kB / 1.078 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1, allocations: 12.31 kB / 1.079 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/1, allocations: 384 / 1.079 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/1, allocations: 78.2 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/1, allocations: 192 / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1, allocations: 7.922 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1, allocations: 4 kB / 1.079 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/1.001, allocations: 67.92 kB / 1.079 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/1.001, allocations: 288.7 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/1.001, allocations: 50.55 kB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/1.001, allocations: 40.91 kB / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/1.002, allocations: 93.09 kB / 1.079 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/1.002, allocations: 30.56 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.002, allocations: 4 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005142/1.002, allocations: 133.4 kB / 1.079 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.002, allocations: 51.41 kB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/1.002, allocations: 121.8 kB / 1.079 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.002, allocations: 25.7 kB / 1.079 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/1.002, allocations: 84.14 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/1.002, allocations: 11.91 kB / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/1.002, allocations: 9.719 kB / 1.08 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/1.003, allocations: 326.8 kB / 1.08 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.003, allocations: 31.97 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/1.003, allocations: 35.95 kB / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/1.003, allocations: 64.78 kB / 1.08 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.003, allocations: 4 kB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003176/1.003, allocations: 105.5 kB / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.003, allocations: 4 kB / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.003, allocations: 0 / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.003, allocations: 0 / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.004, allocations: 19.92 kB / 1.08 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.004, allocations: 4 kB / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/1.004, allocations: 19.91 kB / 1.08 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.004, allocations: 0 / 1.08 GB, free: 11.11 MB / 0.8419 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.432e-05/1.004, allocations: 113.8 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/1.004, allocations: 7.906 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/1.004, allocations: 117.4 kB / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.004, allocations: 0 / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.004, allocations: 0 / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.004, allocations: 0 / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/1.004, allocations: 181.6 kB / 1.081 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.004, allocations: 0 / 1.081 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/1.005, allocations: 15.98 kB / 1.081 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.005, allocations: 384 / 1.081 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.005, allocations: 4 kB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.005, allocations: 0 / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/1.005, allocations: 4 kB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/1.005, allocations: 199.4 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/1.005, allocations: 85.02 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/1.005, allocations: 0 / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.005, allocations: 11.98 kB / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/1.005, allocations: 11.92 kB / 1.081 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/1.005, allocations: 0 / 1.081 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.044e-05/1.005, allocations: 99.7 kB / 1.081 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.005, allocations: 0 / 1.081 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002269/1.005, allocations: 12 kB / 1.081 GB, free: 10.15 MB / 0.8419 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.0001489/1.006, allocations: 103.2 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003327/1.006, allocations: 75.92 kB / 1.081 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.006, allocations: 0 / 1.081 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.006, allocations: 31.97 kB / 1.081 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/1.006, allocations: 23.86 kB / 1.081 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/1.007, allocations: 171.7 kB / 1.081 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/1.007, allocations: 0.6844 MB / 1.082 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.654e-05/1.007, allocations: 4 kB / 1.082 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/1.007, allocations: 15.44 kB / 1.082 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/1.007, allocations: 0 / 1.082 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.003917/1.011, allocations: 0.8835 MB / 1.083 GB, free: 8.121 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches