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.001126/0.001126, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.001043/0.001044, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.375/1.375, 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.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 60.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8638, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002207/0.8661, allocations: 1.288 MB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1399/1.006, allocations: 132 MB / 1.297 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/1.006, allocations: 8 kB / 1.297 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/1.006, allocations: 0 / 1.297 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/1.006, allocations: 7.922 kB / 1.297 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/1.007, allocations: 55.73 kB / 1.298 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.899e-05/1.007, allocations: 31.8 kB / 1.298 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/1.007, allocations: 0 / 1.298 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/1.007, allocations: 7.984 kB / 1.298 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/1.007, allocations: 15.92 kB / 1.298 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/1.007, allocations: 4 kB / 1.298 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/1.007, allocations: 11.92 kB / 1.298 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/1.007, allocations: 12 kB / 1.298 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/1.007, allocations: 4 kB / 1.298 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/1.007, allocations: 23.58 kB / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.007, allocations: 4 kB / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/1.007, allocations: 0 / 1.298 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.007, allocations: 0 / 1.298 GB, free: 13.84 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.000436/1.008, allocations: 327.6 kB / 1.298 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.008, allocations: 12.86 kB / 1.298 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/1.008, allocations: 12.83 kB / 1.298 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.008, allocations: 166.4 kB / 1.298 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/1.008, allocations: 30.27 kB / 1.298 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/1.008, allocations: 384 / 1.298 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/1.008, allocations: 42.25 kB / 1.298 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.008, allocations: 3.938 kB / 1.298 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/1.008, allocations: 0 / 1.298 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.008, allocations: 3.984 kB / 1.298 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/1.008, allocations: 15.92 kB / 1.298 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/1.009, allocations: 157.7 kB / 1.298 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/1.009, allocations: 30.61 kB / 1.298 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/1.009, allocations: 16.8 kB / 1.298 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/1.009, allocations: 89.19 kB / 1.299 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.009, allocations: 34.56 kB / 1.299 GB, free: 12.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/1.009, allocations: 4 kB / 1.299 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000242/1.009, allocations: 61.55 kB / 1.299 GB, free: 12.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.009, allocations: 51.41 kB / 1.299 GB, free: 12.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/1.009, allocations: 97.86 kB / 1.299 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/1.009, allocations: 25.7 kB / 1.299 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/1.009, allocations: 84.12 kB / 1.299 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.009, allocations: 19.73 kB / 1.299 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/1.009, allocations: 17.72 kB / 1.299 GB, free: 12.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.01, allocations: 314.8 kB / 1.299 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/1.01, allocations: 4 kB / 1.299 GB, free: 12.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/1.01, allocations: 7.984 kB / 1.299 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/1.01, allocations: 24.84 kB / 1.299 GB, free: 11.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.01, allocations: 0 / 1.299 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/1.01, allocations: 49.62 kB / 1.299 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.01, allocations: 7.938 kB / 1.299 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.01, allocations: 12 kB / 1.299 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.01, allocations: 0 / 1.299 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/1.01, allocations: 7.984 kB / 1.299 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/1.01, allocations: 0 / 1.299 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/1.01, allocations: 4 kB / 1.299 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/1.01, allocations: 4 kB / 1.299 GB, free: 11.88 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.434e-05/1.01, allocations: 105.8 kB / 1.299 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/1.01, allocations: 3.938 kB / 1.299 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/1.01, allocations: 69.11 kB / 1.299 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.01, allocations: 0 / 1.299 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.01, allocations: 0.5625 kB / 1.299 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.01, allocations: 0 / 1.299 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/1.011, allocations: 153.6 kB / 1.3 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.011, allocations: 0 / 1.3 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/1.011, allocations: 4 kB / 1.3 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.011, allocations: 7.938 kB / 1.3 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.011, allocations: 4 kB / 1.3 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.011, allocations: 3.984 kB / 1.3 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.011, allocations: 7.938 kB / 1.3 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/1.011, allocations: 80.95 kB / 1.3 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/1.011, allocations: 81.09 kB / 1.3 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/1.011, allocations: 3.938 kB / 1.3 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/1.011, allocations: 4 kB / 1.3 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/1.011, allocations: 4 kB / 1.3 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.011, allocations: 0 / 1.3 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.649e-05/1.011, allocations: 83.28 kB / 1.3 GB, free: 11.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.011, allocations: 0 / 1.3 GB, free: 11.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001938/1.011, allocations: 15.98 kB / 1.3 GB, free: 11.15 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.0001555/1.011, allocations: 107.2 kB / 1.3 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001391/1.012, allocations: 19.98 kB / 1.3 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.012, allocations: 0 / 1.3 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/1.012, allocations: 11.94 kB / 1.3 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.012, allocations: 19.98 kB / 1.3 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/1.012, allocations: 149.4 kB / 1.3 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/1.012, allocations: 0.6729 MB / 1.301 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/1.012, allocations: 11.42 kB / 1.301 GB, free: 10.1 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/1.012, allocations: 0 / 1.301 GB, free: 10.1 MB / 1.029 GB Notification: Performance of Templates: time 0.002118/1.015, allocations: 0.5899 MB / 1.301 GB, free: 9.508 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 -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