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.001373/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001581/0.001581, allocations: 191 kB / 16.14 MB, free: 6.711 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.351/2.351, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.09 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8932, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002395/0.8956, allocations: 1.343 MB / 0.9502 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1777/1.073, allocations: 129.9 MB / 1.077 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/1.073, allocations: 0 / 1.077 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/1.074, allocations: 4 kB / 1.077 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/1.074, allocations: 7.922 kB / 1.077 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/1.074, allocations: 47.8 kB / 1.077 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.773e-05/1.074, allocations: 19.94 kB / 1.077 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/1.074, allocations: 3.984 kB / 1.077 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/1.074, allocations: 11.92 kB / 1.077 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/1.074, allocations: 11.94 kB / 1.077 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/1.074, allocations: 4 kB / 1.077 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.348e-05/1.074, allocations: 11.98 kB / 1.077 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/1.074, allocations: 8 kB / 1.077 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/1.074, allocations: 7.938 kB / 1.077 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/1.075, allocations: 29.94 kB / 1.077 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.075, allocations: 0 / 1.077 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/1.075, allocations: 0 / 1.077 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.179e-06/1.075, allocations: 0 / 1.077 GB, free: 14.28 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.0004493/1.075, allocations: 339.4 kB / 1.078 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.075, allocations: 8.031 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/1.075, allocations: 4.938 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.075, allocations: 168.4 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/1.075, allocations: 34.2 kB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/1.075, allocations: 384 / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/1.076, allocations: 50.17 kB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.076, allocations: 3.938 kB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.076, allocations: 0 / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.076, allocations: 3.984 kB / 1.078 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/1.076, allocations: 8 kB / 1.078 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/1.076, allocations: 157.7 kB / 1.078 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.076, allocations: 30.61 kB / 1.078 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/1.076, allocations: 12.86 kB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/1.076, allocations: 89.19 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.076, allocations: 38.5 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/1.076, allocations: 4 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002702/1.076, allocations: 61.52 kB / 1.078 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.077, allocations: 51.41 kB / 1.078 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/1.077, allocations: 101.8 kB / 1.078 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.077, allocations: 25.7 kB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/1.077, allocations: 80.14 kB / 1.078 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/1.077, allocations: 11.84 kB / 1.078 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/1.077, allocations: 17.72 kB / 1.078 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.077, allocations: 314.8 kB / 1.079 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/1.077, allocations: 7.984 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/1.077, allocations: 8 kB / 1.079 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/1.077, allocations: 32.78 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.077, allocations: 0 / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001244/1.077, allocations: 45.69 kB / 1.079 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.077, allocations: 10.12 kB / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.077, allocations: 4 kB / 1.079 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.077, allocations: 7.984 kB / 1.079 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/1.077, allocations: 4 kB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.077, allocations: 0 / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/1.077, allocations: 0 / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.077, allocations: 4 kB / 1.079 GB, free: 12.33 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 9.168e-05/1.078, allocations: 105.8 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/1.078, allocations: 12.3 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/1.078, allocations: 65.17 kB / 1.079 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.078, allocations: 7.969 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.078, allocations: 0 / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.078, allocations: 3.938 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/1.078, allocations: 153.7 kB / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.078, allocations: 0 / 1.079 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/1.078, allocations: 7.984 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.078, allocations: 7.938 kB / 1.079 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/1.078, allocations: 0 / 1.079 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.078, allocations: 0 / 1.079 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.078, allocations: 4 kB / 1.079 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/1.078, allocations: 73.06 kB / 1.079 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/1.078, allocations: 81.09 kB / 1.079 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/1.078, allocations: 3.938 kB / 1.079 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/1.078, allocations: 8 kB / 1.079 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/1.078, allocations: 0 / 1.079 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.078, allocations: 3.984 kB / 1.079 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.096e-05/1.078, allocations: 83.28 kB / 1.079 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/1.078, allocations: 0 / 1.079 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001905/1.079, allocations: 8 kB / 1.079 GB, free: 11.61 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.0001748/1.079, allocations: 107.2 kB / 1.08 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001563/1.079, allocations: 23.92 kB / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.079, allocations: 0 / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/1.079, allocations: 12 kB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/1.079, allocations: 11.98 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/1.08, allocations: 133.3 kB / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/1.08, allocations: 0.677 MB / 1.08 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.797e-05/1.08, allocations: 7.953 kB / 1.08 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/1.08, allocations: 11.44 kB / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/1.08, allocations: 0 / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.00305/1.083, allocations: 0.4891 MB / 1.081 GB, free: 10.08 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