Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 108 kB / 16.41 MB, free: 6.457 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.001469/0.001469, allocations: 193.2 kB / 17.34 MB, free: 5.734 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 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.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 71.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8615/0.864, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002479/0.8666, allocations: 1.27 MB / 1.169 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1543/1.021, allocations: 132 MB / 1.297 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/1.021, allocations: 0 / 1.297 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/1.021, allocations: 7.938 kB / 1.297 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/1.021, allocations: 7.969 kB / 1.298 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/1.022, allocations: 55.67 kB / 1.298 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/1.022, allocations: 27.86 kB / 1.298 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/1.022, allocations: 4 kB / 1.298 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/1.022, allocations: 4 kB / 1.298 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/1.022, allocations: 11.98 kB / 1.298 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/1.022, allocations: 3.938 kB / 1.298 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/1.022, allocations: 19.92 kB / 1.298 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/1.022, allocations: 0 / 1.298 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/1.022, allocations: 11.98 kB / 1.298 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/1.022, allocations: 27.72 kB / 1.298 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.022, allocations: 4 kB / 1.298 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/1.022, allocations: 3.938 kB / 1.298 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.04e-06/1.022, allocations: 0 / 1.298 GB, free: 13.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004449/1.023, allocations: 332.6 kB / 1.298 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.023, allocations: 8.922 kB / 1.298 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/1.023, allocations: 0.9375 kB / 1.298 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.023, allocations: 172.3 kB / 1.298 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/1.023, allocations: 30.27 kB / 1.298 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/1.023, allocations: 4.375 kB / 1.298 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/1.023, allocations: 38.25 kB / 1.298 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.023, allocations: 7.875 kB / 1.298 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/1.023, allocations: 0 / 1.298 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.023, allocations: 0 / 1.298 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/1.023, allocations: 11.98 kB / 1.298 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/1.023, allocations: 157.7 kB / 1.298 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/1.023, allocations: 34.56 kB / 1.298 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/1.023, allocations: 12.86 kB / 1.298 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/1.024, allocations: 93.12 kB / 1.299 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.024, allocations: 34.56 kB / 1.299 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.024, allocations: 0 / 1.299 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002301/1.024, allocations: 69.55 kB / 1.299 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.024, allocations: 51.41 kB / 1.299 GB, free: 12.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/1.024, allocations: 102 kB / 1.299 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/1.024, allocations: 25.7 kB / 1.299 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/1.024, allocations: 80.14 kB / 1.299 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/1.024, allocations: 11.89 kB / 1.299 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/1.024, allocations: 17.72 kB / 1.299 GB, free: 12.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.024, allocations: 314.8 kB / 1.299 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/1.024, allocations: 4 kB / 1.299 GB, free: 12.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/1.024, allocations: 15.98 kB / 1.299 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/1.024, allocations: 24.78 kB / 1.299 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.024, allocations: 0 / 1.299 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/1.025, allocations: 49.69 kB / 1.299 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.025, allocations: 7.938 kB / 1.299 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/1.025, allocations: 0 / 1.299 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.025, allocations: 4 kB / 1.299 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/1.025, allocations: 11.98 kB / 1.299 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/1.025, allocations: 0 / 1.299 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/1.025, allocations: 0 / 1.299 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.025, allocations: 0 / 1.299 GB, free: 12.04 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.892e-05/1.025, allocations: 109.8 kB / 1.299 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/1.025, allocations: 3.938 kB / 1.299 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/1.025, allocations: 65.11 kB / 1.299 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.025, allocations: 7.938 kB / 1.3 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.025, allocations: 0 / 1.3 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/1.025, allocations: 0 / 1.3 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/1.025, allocations: 157.7 kB / 1.3 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.025, allocations: 0 / 1.3 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/1.025, allocations: 4 kB / 1.3 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.025, allocations: 3.938 kB / 1.3 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/1.025, allocations: 0 / 1.3 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.025, allocations: 0 / 1.3 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.025, allocations: 7.984 kB / 1.3 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/1.025, allocations: 80.95 kB / 1.3 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/1.026, allocations: 85.05 kB / 1.3 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/1.026, allocations: 11.92 kB / 1.3 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.557e-05/1.026, allocations: 0 / 1.3 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/1.026, allocations: 4 kB / 1.3 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/1.026, allocations: 0 / 1.3 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.854e-05/1.026, allocations: 79.7 kB / 1.3 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.026, allocations: 4 kB / 1.3 GB, free: 11.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000186/1.026, allocations: 11.98 kB / 1.3 GB, free: 11.3 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.0001525/1.026, allocations: 111.2 kB / 1.3 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001413/1.026, allocations: 20.11 kB / 1.3 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.026, allocations: 0 / 1.3 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/1.026, allocations: 20.02 kB / 1.3 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.026, allocations: 26.73 kB / 1.3 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/1.027, allocations: 115.7 kB / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/1.027, allocations: 0.6729 MB / 1.301 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.148e-05/1.027, allocations: 11.98 kB / 1.301 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/1.027, allocations: 7.438 kB / 1.301 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 2.41e-07/1.027, allocations: 0 / 1.301 GB, free: 10.27 MB / 1.029 GB Notification: Performance of Templates: time 0.002766/1.03, allocations: 0.5112 MB / 1.301 GB, free: 9.758 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches