Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001543/0.001543, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002037/0.002038, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002533, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9216/0.9242, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00302/0.9273, allocations: 1.334 MB / 0.9504 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1695/1.097, allocations: 130.1 MB / 1.077 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/1.097, allocations: 0 / 1.077 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/1.097, allocations: 3.984 kB / 1.077 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/1.097, allocations: 3.938 kB / 1.077 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/1.097, allocations: 51.78 kB / 1.077 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/1.098, allocations: 27.7 kB / 1.077 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/1.098, allocations: 7.984 kB / 1.077 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/1.098, allocations: 8 kB / 1.078 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/1.098, allocations: 4 kB / 1.078 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/1.098, allocations: 0 / 1.078 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.337e-05/1.098, allocations: 19.92 kB / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/1.098, allocations: 0 / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/1.098, allocations: 8 kB / 1.078 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/1.098, allocations: 29.86 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.098, allocations: 0 / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/1.098, allocations: 0 / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.098, allocations: 4 kB / 1.078 GB, free: 14.07 MB / 0.8419 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.0005351/1.099, allocations: 339.4 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.099, allocations: 12.03 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/1.099, allocations: 0.9375 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/1.099, allocations: 172.3 kB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/1.099, allocations: 30.27 kB / 1.078 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/1.099, allocations: 4.375 kB / 1.078 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/1.099, allocations: 38.23 kB / 1.078 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.099, allocations: 7.938 kB / 1.078 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.099, allocations: 3.984 kB / 1.078 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.099, allocations: 0 / 1.078 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/1.099, allocations: 16 kB / 1.078 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/1.099, allocations: 153.7 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.981e-05/1.1, allocations: 34.55 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/1.1, allocations: 12.86 kB / 1.078 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/1.1, allocations: 93.19 kB / 1.078 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.1, allocations: 38.5 kB / 1.078 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/1.1, allocations: 0 / 1.078 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002619/1.1, allocations: 65.52 kB / 1.079 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.1, allocations: 55.34 kB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/1.1, allocations: 101.8 kB / 1.079 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.1, allocations: 25.7 kB / 1.079 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/1.1, allocations: 84.14 kB / 1.079 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/1.1, allocations: 7.844 kB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/1.1, allocations: 13.72 kB / 1.079 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.1, allocations: 314.8 kB / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/1.101, allocations: 7.984 kB / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/1.101, allocations: 4 kB / 1.079 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/1.101, allocations: 28.84 kB / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.101, allocations: 0 / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001094/1.101, allocations: 53.62 kB / 1.079 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.101, allocations: 11.92 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.101, allocations: 0 / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/1.101, allocations: 0 / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/1.101, allocations: 4 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.101, allocations: 0 / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/1.101, allocations: 4 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/1.101, allocations: 4 kB / 1.079 GB, free: 12.11 MB / 0.8419 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.015e-05/1.101, allocations: 109.8 kB / 1.079 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/1.101, allocations: 11.84 kB / 1.079 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/1.101, allocations: 53.69 kB / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.101, allocations: 0 / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.101, allocations: 0 / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.101, allocations: 4 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/1.101, allocations: 157.6 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.101, allocations: 4 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/1.101, allocations: 11.97 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.101, allocations: 7.922 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/1.101, allocations: 0 / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.101, allocations: 0 / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.101, allocations: 0 / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/1.102, allocations: 73.12 kB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/1.102, allocations: 93.03 kB / 1.08 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.102, allocations: 3.938 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/1.102, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/1.102, allocations: 4 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/1.102, allocations: 7.984 kB / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.276e-05/1.102, allocations: 79.28 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.102, allocations: 0 / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001861/1.102, allocations: 12 kB / 1.08 GB, free: 11.38 MB / 0.8419 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.0001652/1.102, allocations: 119.2 kB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001478/1.102, allocations: 19.98 kB / 1.08 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.102, allocations: 0 / 1.08 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/1.102, allocations: 11.98 kB / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/1.103, allocations: 8 kB / 1.08 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/1.103, allocations: 139.5 kB / 1.08 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.103, allocations: 0.6805 MB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.192e-05/1.103, allocations: 7.953 kB / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/1.103, allocations: 7.438 kB / 1.081 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/1.103, allocations: 0 / 1.081 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.002738/1.106, allocations: 0.4942 MB / 1.081 GB, free: 9.848 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches