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.005716/0.005716, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00121/0.00121, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 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.454/2.454, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.05 kB / 1.018 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9585, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002613/0.9612, allocations: 1.496 MB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1329/1.094, allocations: 132.1 MB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/1.094, allocations: 4 kB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/1.094, allocations: 3.938 kB / 1.297 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/1.094, allocations: 15.84 kB / 1.297 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/1.095, allocations: 63.72 kB / 1.297 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/1.095, allocations: 59.69 kB / 1.297 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/1.095, allocations: 15.97 kB / 1.297 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/1.095, allocations: 19.92 kB / 1.297 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/1.095, allocations: 23.92 kB / 1.297 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/1.095, allocations: 4 kB / 1.297 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/1.095, allocations: 23.92 kB / 1.297 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/1.095, allocations: 4 kB / 1.297 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/1.095, allocations: 31.86 kB / 1.297 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/1.095, allocations: 60.3 kB / 1.297 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.095, allocations: 0 / 1.297 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/1.096, allocations: 7.938 kB / 1.297 GB, free: 13.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.096, allocations: 0 / 1.297 GB, free: 13.39 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.000518/1.096, allocations: 367.2 kB / 1.298 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/1.096, allocations: 12.92 kB / 1.298 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/1.096, allocations: 8.891 kB / 1.298 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/1.096, allocations: 176.3 kB / 1.298 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.096, allocations: 8.312 kB / 1.298 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.096, allocations: 384 / 1.298 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/1.097, allocations: 74.2 kB / 1.298 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.097, allocations: 192 / 1.298 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.097, allocations: 3.938 kB / 1.298 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.097, allocations: 4 kB / 1.298 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/1.097, allocations: 71.92 kB / 1.298 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/1.097, allocations: 288.7 kB / 1.298 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/1.097, allocations: 50.55 kB / 1.298 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/1.098, allocations: 44.91 kB / 1.298 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/1.098, allocations: 93.16 kB / 1.298 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.098, allocations: 30.56 kB / 1.299 GB, free: 12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.098, allocations: 0 / 1.299 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005379/1.098, allocations: 133.5 kB / 1.299 GB, free: 11.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/1.098, allocations: 55.34 kB / 1.299 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.099, allocations: 117.8 kB / 1.299 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.099, allocations: 29.7 kB / 1.299 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/1.099, allocations: 92.09 kB / 1.299 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/1.099, allocations: 3.953 kB / 1.299 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/1.099, allocations: 17.72 kB / 1.299 GB, free: 11.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.099, allocations: 326.8 kB / 1.299 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/1.099, allocations: 27.97 kB / 1.299 GB, free: 11.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/1.099, allocations: 31.95 kB / 1.299 GB, free: 11.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/1.099, allocations: 72.78 kB / 1.299 GB, free: 11.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.099, allocations: 0 / 1.299 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003282/1.1, allocations: 101.5 kB / 1.299 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.1, allocations: 8 kB / 1.299 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.1, allocations: 0 / 1.299 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.1, allocations: 336 / 1.299 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.1, allocations: 15.98 kB / 1.3 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.1, allocations: 7.984 kB / 1.3 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/1.1, allocations: 15.91 kB / 1.3 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/1.1, allocations: 7.938 kB / 1.3 GB, free: 10.89 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 7.171e-05/1.1, allocations: 113.8 kB / 1.3 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/1.1, allocations: 11.94 kB / 1.3 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/1.1, allocations: 113.5 kB / 1.3 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.1, allocations: 0 / 1.3 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.1, allocations: 0 / 1.3 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/1.1, allocations: 0 / 1.3 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/1.101, allocations: 173.6 kB / 1.3 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.101, allocations: 0 / 1.3 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.353e-05/1.101, allocations: 15.98 kB / 1.3 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.101, allocations: 0 / 1.3 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.101, allocations: 4 kB / 1.3 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.101, allocations: 4 kB / 1.3 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.101, allocations: 0 / 1.3 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/1.101, allocations: 195.4 kB / 1.3 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/1.101, allocations: 85 kB / 1.3 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/1.101, allocations: 8 kB / 1.3 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/1.101, allocations: 7.984 kB / 1.3 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/1.101, allocations: 11.92 kB / 1.3 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/1.101, allocations: 4 kB / 1.3 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.723e-05/1.101, allocations: 95.27 kB / 1.3 GB, free: 9.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.101, allocations: 0 / 1.3 GB, free: 9.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002384/1.102, allocations: 15.94 kB / 1.3 GB, free: 9.941 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.0001383/1.102, allocations: 111.2 kB / 1.3 GB, free: 9.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003415/1.102, allocations: 67.92 kB / 1.301 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.102, allocations: 0 / 1.301 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/1.102, allocations: 31.97 kB / 1.301 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/1.103, allocations: 23.92 kB / 1.301 GB, free: 9.703 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/1.103, allocations: 156.8 kB / 1.301 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/1.103, allocations: 0.6807 MB / 1.301 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.532e-05/1.103, allocations: 4 kB / 1.301 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/1.103, allocations: 11.44 kB / 1.301 GB, free: 8.805 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/1.103, allocations: 4 kB / 1.301 GB, free: 8.801 MB / 1.029 GB Notification: Performance of Templates: time 0.003136/1.107, allocations: 0.9946 MB / 1.302 GB, free: 7.816 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/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