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.00126/0.00126, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001593/0.001593, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.445 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.844/2.844, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 12 kB / 0.8722 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9253/0.9257, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001811/0.9276, allocations: 1.203 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2015/1.129, allocations: 119.6 MB / 1.14 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/1.129, allocations: 0 / 1.14 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/1.129, allocations: 0 / 1.14 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/1.129, allocations: 7.938 kB / 1.14 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/1.13, allocations: 55.78 kB / 1.14 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000104/1.13, allocations: 51.78 kB / 1.141 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/1.13, allocations: 11.98 kB / 1.141 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/1.13, allocations: 15.94 kB / 1.141 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/1.13, allocations: 23.91 kB / 1.141 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/1.13, allocations: 0 / 1.141 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/1.13, allocations: 12 kB / 1.141 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/1.13, allocations: 15.92 kB / 1.141 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/1.13, allocations: 33.64 kB / 1.141 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/1.13, allocations: 41.89 kB / 1.141 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.13, allocations: 4 kB / 1.141 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/1.13, allocations: 0 / 1.141 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.709e-06/1.13, allocations: 0 / 1.141 GB, free: 6.633 MB / 0.8887 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.000526/1.131, allocations: 383.1 kB / 1.141 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.131, allocations: 8.031 kB / 1.141 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/1.131, allocations: 4 kB / 1.141 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/1.131, allocations: 170.9 kB / 1.141 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.131, allocations: 7.953 kB / 1.141 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/1.131, allocations: 0 / 1.141 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/1.131, allocations: 85.66 kB / 1.141 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/1.131, allocations: 0 / 1.141 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.131, allocations: 0 / 1.141 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.131, allocations: 0 / 1.141 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/1.132, allocations: 91.92 kB / 1.141 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/1.132, allocations: 296.6 kB / 1.142 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/1.132, allocations: 70.52 kB / 1.142 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/1.132, allocations: 52.86 kB / 1.142 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/1.133, allocations: 89.09 kB / 1.142 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.133, allocations: 34.56 kB / 1.142 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.133, allocations: 0 / 1.142 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005743/1.133, allocations: 165.5 kB / 1.142 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.133, allocations: 55.41 kB / 1.142 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.133, allocations: 117.8 kB / 1.142 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/1.133, allocations: 25.7 kB / 1.142 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/1.134, allocations: 96.12 kB / 1.142 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/1.134, allocations: 15.81 kB / 1.142 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/1.134, allocations: 0 / 1.142 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.134, allocations: 318.8 kB / 1.143 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/1.134, allocations: 43.95 kB / 1.143 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/1.134, allocations: 47.91 kB / 1.143 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/1.134, allocations: 43.95 kB / 1.143 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.134, allocations: 0 / 1.143 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003035/1.134, allocations: 125.6 kB / 1.143 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.134, allocations: 4 kB / 1.143 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.134, allocations: 0 / 1.143 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.134, allocations: 0 / 1.143 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.135, allocations: 19.98 kB / 1.143 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.135, allocations: 0 / 1.143 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/1.135, allocations: 23.97 kB / 1.143 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.135, allocations: 4 kB / 1.143 GB, free: 4.047 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/1.135, allocations: 117.8 kB / 1.143 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/1.135, allocations: 7.906 kB / 1.143 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/1.135, allocations: 129.5 kB / 1.143 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.135, allocations: 0 / 1.143 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.135, allocations: 0 / 1.143 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.135, allocations: 0 / 1.143 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/1.135, allocations: 185.5 kB / 1.143 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.135, allocations: 0 / 1.143 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.984e-05/1.136, allocations: 23.98 kB / 1.143 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.136, allocations: 0 / 1.143 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.136, allocations: 0 / 1.143 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.136, allocations: 0 / 1.143 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.136, allocations: 4 kB / 1.143 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/1.136, allocations: 223.7 kB / 1.144 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/1.136, allocations: 77.11 kB / 1.144 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.136, allocations: 7.938 kB / 1.144 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/1.136, allocations: 15.98 kB / 1.144 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/1.136, allocations: 8.031 kB / 1.144 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/1.136, allocations: 7.922 kB / 1.144 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.073e-05/1.136, allocations: 91.27 kB / 1.144 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.136, allocations: 4 kB / 1.144 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002268/1.136, allocations: 12 kB / 1.144 GB, free: 3.047 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/1.137, allocations: 121.3 kB / 1.144 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003191/1.137, allocations: 91.92 kB / 1.144 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.137, allocations: 0 / 1.144 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.137, allocations: 47.91 kB / 1.144 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/1.137, allocations: 23.92 kB / 1.144 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/1.138, allocations: 176.4 kB / 1.144 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.138, allocations: 0.6848 MB / 1.145 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.289e-05/1.138, allocations: 4 kB / 1.145 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/1.138, allocations: 7.438 kB / 1.145 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of SimCode: time 2.11e-07/1.138, allocations: 0 / 1.145 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of Templates: time 0.003533/1.142, allocations: 0.8161 MB / 1.146 GB, free: 1.031 MB / 0.8887 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/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