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.007353/0.007353, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001368/0.001368, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.387/1.387, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.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.178/2.178, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 63.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9241, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002571/0.9267, allocations: 1.281 MB / 1.089 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1943/1.121, allocations: 132 MB / 1.218 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/1.121, allocations: 4 kB / 1.218 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/1.121, allocations: 0 / 1.218 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/1.121, allocations: 6.188 kB / 1.218 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/1.122, allocations: 59.44 kB / 1.218 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.464e-05/1.122, allocations: 17.67 kB / 1.218 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/1.122, allocations: 6.766 kB / 1.218 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/1.122, allocations: 12.36 kB / 1.218 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/1.122, allocations: 4.812 kB / 1.218 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/1.122, allocations: 0 / 1.218 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/1.122, allocations: 19.36 kB / 1.218 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/1.122, allocations: 5.062 kB / 1.218 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/1.122, allocations: 16.55 kB / 1.218 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/1.122, allocations: 35.94 kB / 1.218 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.122, allocations: 0 / 1.218 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/1.122, allocations: 0 / 1.218 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.959e-06/1.122, allocations: 0 / 1.218 GB, free: 2.41 MB / 0.9512 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.0004288/1.123, allocations: 327.7 kB / 1.219 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/1.123, allocations: 9.281 kB / 1.219 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/1.123, allocations: 3.406 kB / 1.219 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.123, allocations: 171.9 kB / 1.219 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/1.123, allocations: 31.75 kB / 1.219 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.123, allocations: 5.969 kB / 1.219 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/1.123, allocations: 36.12 kB / 1.219 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.123, allocations: 3.938 kB / 1.219 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.123, allocations: 1.156 kB / 1.219 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.123, allocations: 0 / 1.219 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/1.123, allocations: 19.3 kB / 1.219 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/1.124, allocations: 154.2 kB / 1.219 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.124, allocations: 36 kB / 1.219 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/1.124, allocations: 9.172 kB / 1.219 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/1.124, allocations: 90.34 kB / 1.219 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.124, allocations: 34.55 kB / 1.219 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/1.124, allocations: 5.125 kB / 1.219 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002499/1.124, allocations: 63 kB / 1.219 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.124, allocations: 51.41 kB / 1.219 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/1.124, allocations: 97.47 kB / 1.219 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.124, allocations: 27.14 kB / 1.219 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/1.124, allocations: 80.14 kB / 1.219 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/1.124, allocations: 13.31 kB / 1.219 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/1.124, allocations: 16.19 kB / 1.22 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.125, allocations: 316.1 kB / 1.22 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/1.125, allocations: 12.03 kB / 1.22 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/1.125, allocations: 4.844 kB / 1.22 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/1.125, allocations: 27.31 kB / 1.22 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.125, allocations: 0 / 1.22 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001316/1.125, allocations: 56.14 kB / 1.22 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.125, allocations: 9.062 kB / 1.22 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.125, allocations: 8 kB / 1.22 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.125, allocations: 0 / 1.22 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/1.125, allocations: 5.531 kB / 1.22 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.125, allocations: 0 / 1.22 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/1.125, allocations: 1.938 kB / 1.22 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.125, allocations: 0.8125 kB / 1.22 GB, free: 0.6133 MB / 0.9512 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.656e-05/1.125, allocations: 116.1 kB / 1.22 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/1.125, allocations: 9.125 kB / 1.22 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/1.125, allocations: 58.19 kB / 1.22 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.125, allocations: 1.094 kB / 1.22 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.125, allocations: 3.984 kB / 1.22 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.125, allocations: 0 / 1.22 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/1.126, allocations: 149.6 kB / 1.22 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.126, allocations: 1.094 kB / 1.22 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/1.126, allocations: 8.828 kB / 1.22 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.126, allocations: 5.031 kB / 1.22 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.126, allocations: 1 kB / 1.22 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.126, allocations: 0 / 1.22 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.126, allocations: 4 kB / 1.22 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/1.126, allocations: 85.03 kB / 1.22 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/1.126, allocations: 82.42 kB / 1.22 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/1.126, allocations: 5.188 kB / 1.22 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.804e-05/1.126, allocations: 1.125 kB / 1.22 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/1.126, allocations: 5.047 kB / 1.22 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/1.126, allocations: 1.094 kB / 1.22 GB, free: 32 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.006e-05/1.126, allocations: 85.31 kB / 1.221 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0.9375 kB / 1.221 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001908/1.126, allocations: 8.344 kB / 1.221 GB, free: 15.95 MB / 0.9669 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.0001904/1.126, allocations: 108.2 kB / 1.221 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000154/1.127, allocations: 24.73 kB / 1.221 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.127, allocations: 0 / 1.221 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/1.127, allocations: 19.42 kB / 1.221 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.127, allocations: 7.531 kB / 1.221 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/1.127, allocations: 125.8 kB / 1.221 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/1.128, allocations: 0.6763 MB / 1.221 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.788e-05/1.128, allocations: 5.875 kB / 1.221 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/1.128, allocations: 13.81 kB / 1.221 GB, free: 15 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/1.128, allocations: 0 / 1.221 GB, free: 15 MB / 0.9669 GB Notification: Performance of Templates: time 0.002959/1.131, allocations: 0.5154 MB / 1.222 GB, free: 14.73 MB / 0.9669 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