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.001905/0.001905, allocations: 108.1 kB / 16.4 MB, free: 6.395 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.00213/0.00213, allocations: 183.9 kB / 17.33 MB, free: 5.836 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.576/2.576, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 55.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9614/0.963, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002851/0.9659, allocations: 1.5 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1575/1.123, allocations: 132.1 MB / 1.298 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/1.123, allocations: 0 / 1.298 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.661e-05/1.124, allocations: 3.938 kB / 1.298 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/1.124, allocations: 11.88 kB / 1.298 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/1.124, allocations: 67.7 kB / 1.298 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/1.124, allocations: 55.78 kB / 1.298 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/1.124, allocations: 16 kB / 1.298 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.389e-05/1.125, allocations: 19.92 kB / 1.298 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/1.125, allocations: 31.84 kB / 1.298 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/1.125, allocations: 4 kB / 1.298 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/1.125, allocations: 12 kB / 1.298 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/1.125, allocations: 11.98 kB / 1.298 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/1.125, allocations: 23.86 kB / 1.298 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/1.125, allocations: 56.31 kB / 1.298 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.125, allocations: 0 / 1.298 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/1.125, allocations: 0 / 1.298 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.125, allocations: 0 / 1.298 GB, free: 13.45 MB / 1.029 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.0006177/1.126, allocations: 379.2 kB / 1.298 GB, free: 13.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/1.126, allocations: 8.922 kB / 1.298 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/1.126, allocations: 8.891 kB / 1.298 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/1.126, allocations: 180.2 kB / 1.299 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/1.126, allocations: 384 / 1.299 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/1.126, allocations: 12.31 kB / 1.299 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/1.126, allocations: 74.22 kB / 1.299 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.126, allocations: 192 / 1.299 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.126, allocations: 3.938 kB / 1.299 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.127, allocations: 0 / 1.299 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/1.127, allocations: 67.91 kB / 1.299 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/1.128, allocations: 292.7 kB / 1.299 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.128, allocations: 58.53 kB / 1.299 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/1.128, allocations: 32.92 kB / 1.299 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/1.128, allocations: 89.09 kB / 1.299 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.128, allocations: 38.56 kB / 1.299 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/1.128, allocations: 0 / 1.299 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0008199/1.129, allocations: 133.6 kB / 1.299 GB, free: 11.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.129, allocations: 51.41 kB / 1.299 GB, free: 11.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.129, allocations: 125.8 kB / 1.3 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/1.13, allocations: 25.7 kB / 1.3 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/1.13, allocations: 96.08 kB / 1.3 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/1.13, allocations: 7.953 kB / 1.3 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/1.13, allocations: 17.66 kB / 1.3 GB, free: 11.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.13, allocations: 318.8 kB / 1.3 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/1.13, allocations: 39.95 kB / 1.3 GB, free: 11.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.13, allocations: 27.97 kB / 1.3 GB, free: 11.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/1.13, allocations: 68.78 kB / 1.3 GB, free: 11.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.13, allocations: 0 / 1.3 GB, free: 11.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003403/1.131, allocations: 109.5 kB / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.131, allocations: 4 kB / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.131, allocations: 3.984 kB / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.131, allocations: 0 / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/1.131, allocations: 15.98 kB / 1.3 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.131, allocations: 0 / 1.3 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-05/1.131, allocations: 15.92 kB / 1.3 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/1.131, allocations: 4 kB / 1.3 GB, free: 10.94 MB / 1.029 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.299e-05/1.131, allocations: 117.8 kB / 1.3 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/1.131, allocations: 3.953 kB / 1.3 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/1.132, allocations: 113.4 kB / 1.3 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.132, allocations: 0 / 1.3 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.132, allocations: 8 kB / 1.3 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.132, allocations: 0 / 1.3 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/1.132, allocations: 173.6 kB / 1.301 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.132, allocations: 0 / 1.301 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.132, allocations: 19.97 kB / 1.301 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.132, allocations: 0 / 1.301 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.132, allocations: 3.938 kB / 1.301 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.132, allocations: 0 / 1.301 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.132, allocations: 0 / 1.301 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/1.132, allocations: 199.4 kB / 1.301 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/1.133, allocations: 85.05 kB / 1.301 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/1.133, allocations: 4 kB / 1.301 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.133, allocations: 11.98 kB / 1.301 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/1.133, allocations: 0 / 1.301 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.133, allocations: 11.98 kB / 1.301 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.297e-05/1.133, allocations: 91.22 kB / 1.301 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.133, allocations: 0 / 1.301 GB, free: 10.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002449/1.133, allocations: 19.94 kB / 1.301 GB, free: 9.988 MB / 1.029 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.0001769/1.133, allocations: 107.2 kB / 1.301 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003481/1.134, allocations: 67.92 kB / 1.301 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.134, allocations: 0 / 1.301 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/1.134, allocations: 44.27 kB / 1.301 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/1.134, allocations: 15.94 kB / 1.301 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/1.135, allocations: 189.4 kB / 1.301 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.135, allocations: 0.6846 MB / 1.302 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/1.135, allocations: 11.44 kB / 1.302 GB, free: 8.812 MB / 1.029 GB Notification: Performance of SimCode: time 2.01e-07/1.135, allocations: 0 / 1.302 GB, free: 8.812 MB / 1.029 GB Notification: Performance of Templates: time 0.002865/1.138, allocations: 0.9341 MB / 1.303 GB, free: 7.887 MB / 1.029 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