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.00174/0.00174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002392/0.002392, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.493/2.493, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.886, allocations: 140.3 MB / 0.9489 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002687/0.8887, allocations: 1.55 MB / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1822/1.071, allocations: 129.9 MB / 1.077 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/1.071, allocations: 0 / 1.077 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/1.071, allocations: 0 / 1.077 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/1.071, allocations: 7.922 kB / 1.077 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/1.072, allocations: 55.8 kB / 1.077 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/1.072, allocations: 59.72 kB / 1.077 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/1.072, allocations: 17.95 kB / 1.077 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/1.072, allocations: 19.92 kB / 1.077 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/1.072, allocations: 19.92 kB / 1.077 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/1.072, allocations: 4 kB / 1.077 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/1.072, allocations: 15.98 kB / 1.077 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/1.072, allocations: 7.984 kB / 1.078 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/1.072, allocations: 19.88 kB / 1.078 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/1.073, allocations: 63.73 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.073, allocations: 0 / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.002e-06/1.073, allocations: 4 kB / 1.078 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.073, allocations: 0 / 1.078 GB, free: 13.91 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.0006121/1.073, allocations: 371.3 kB / 1.078 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/1.073, allocations: 12.03 kB / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/1.073, allocations: 8.844 kB / 1.078 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.074, allocations: 176.2 kB / 1.078 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/1.074, allocations: 4.375 kB / 1.078 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/1.074, allocations: 8.375 kB / 1.078 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/1.074, allocations: 74.2 kB / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.074, allocations: 192 / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.074, allocations: 3.938 kB / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.074, allocations: 0 / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/1.074, allocations: 71.92 kB / 1.078 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/1.075, allocations: 288.7 kB / 1.079 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/1.075, allocations: 54.55 kB / 1.079 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/1.075, allocations: 48.89 kB / 1.079 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/1.075, allocations: 89.09 kB / 1.079 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.075, allocations: 30.56 kB / 1.079 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/1.075, allocations: 3.938 kB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005872/1.076, allocations: 129.5 kB / 1.079 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.076, allocations: 55.41 kB / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.076, allocations: 117.8 kB / 1.079 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.076, allocations: 25.7 kB / 1.079 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/1.076, allocations: 88.14 kB / 1.079 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/1.076, allocations: 11.84 kB / 1.079 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/1.076, allocations: 17.7 kB / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.077, allocations: 322.8 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.077, allocations: 31.97 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.077, allocations: 31.95 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/1.077, allocations: 76.72 kB / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.077, allocations: 0 / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003214/1.077, allocations: 97.53 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.077, allocations: 5.562 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.077, allocations: 0 / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.078, allocations: 4 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/1.078, allocations: 15.98 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/1.078, allocations: 0 / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/1.078, allocations: 19.91 kB / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.078, allocations: 0 / 1.08 GB, free: 11.41 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 9.553e-05/1.078, allocations: 117.8 kB / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/1.078, allocations: 7.906 kB / 1.08 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/1.078, allocations: 113.5 kB / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.078, allocations: 0 / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.078, allocations: 0 / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/1.078, allocations: 0 / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/1.079, allocations: 173.6 kB / 1.08 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.079, allocations: 3.938 kB / 1.08 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/1.079, allocations: 15.98 kB / 1.08 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.079, allocations: 0 / 1.08 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/1.079, allocations: 0 / 1.08 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.079, allocations: 4 kB / 1.08 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.079, allocations: 7.984 kB / 1.08 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/1.079, allocations: 199.4 kB / 1.08 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/1.079, allocations: 81.44 kB / 1.08 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.079, allocations: 0 / 1.08 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.079, allocations: 15.98 kB / 1.08 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/1.079, allocations: 7.984 kB / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/1.079, allocations: 0 / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.101e-05/1.079, allocations: 95.2 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/1.079, allocations: 0 / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002393/1.08, allocations: 16 kB / 1.081 GB, free: 10.46 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.0001725/1.08, allocations: 115.2 kB / 1.081 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003493/1.08, allocations: 71.92 kB / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.08, allocations: 0 / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/1.08, allocations: 39.89 kB / 1.081 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/1.081, allocations: 11.94 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/1.081, allocations: 165.5 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.081, allocations: 0.6848 MB / 1.082 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.633e-05/1.081, allocations: 8 kB / 1.082 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/1.082, allocations: 11.42 kB / 1.082 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/1.082, allocations: 0 / 1.082 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of Templates: time 0.003809/1.085, allocations: 0.8515 MB / 1.083 GB, free: 8.465 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