Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00129/0.00129, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001502/0.001503, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.00053, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001899/1.016, allocations: 0.98 MB / 1.022 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1704/1.186, allocations: 111.9 MB / 1.131 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/1.186, allocations: 0 / 1.131 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/1.186, allocations: 3.828 kB / 1.131 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/1.186, allocations: 15.97 kB / 1.131 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/1.187, allocations: 47.84 kB / 1.131 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/1.187, allocations: 11.98 kB / 1.131 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.158e-05/1.187, allocations: 0 / 1.131 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/1.187, allocations: 7.938 kB / 1.131 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/1.187, allocations: 15.98 kB / 1.131 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/1.187, allocations: 0 / 1.131 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/1.187, allocations: 15.98 kB / 1.131 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/1.187, allocations: 7.984 kB / 1.131 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/1.187, allocations: 29.64 kB / 1.131 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.931e-05/1.187, allocations: 21.89 kB / 1.131 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/1.187, allocations: 0 / 1.131 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.214e-06/1.187, allocations: 0 / 1.131 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.187, allocations: 0 / 1.131 GB, free: 15.75 MB / 0.8887 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.0004009/1.188, allocations: 331.3 kB / 1.132 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.188, allocations: 19.98 kB / 1.132 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/1.188, allocations: 0 / 1.132 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.188, allocations: 159.1 kB / 1.132 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/1.188, allocations: 33.66 kB / 1.132 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/1.188, allocations: 0 / 1.132 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.188, allocations: 41.69 kB / 1.132 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.188, allocations: 3.938 kB / 1.132 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/1.188, allocations: 0 / 1.132 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.188, allocations: 0 / 1.132 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/1.188, allocations: 19.92 kB / 1.132 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/1.189, allocations: 153.7 kB / 1.132 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/1.189, allocations: 38.56 kB / 1.132 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/1.189, allocations: 89.19 kB / 1.132 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.189, allocations: 34.56 kB / 1.132 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.189, allocations: 4 kB / 1.132 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002502/1.189, allocations: 57.62 kB / 1.132 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/1.189, allocations: 55.39 kB / 1.132 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/1.189, allocations: 93.86 kB / 1.132 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/1.189, allocations: 25.7 kB / 1.132 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/1.189, allocations: 80.14 kB / 1.132 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/1.189, allocations: 15.81 kB / 1.132 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.189, allocations: 0 / 1.132 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.19, allocations: 318.8 kB / 1.133 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/1.19, allocations: 4 kB / 1.133 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/1.19, allocations: 12.36 kB / 1.133 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/1.19, allocations: 8.078 kB / 1.133 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.19, allocations: 0 / 1.133 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001197/1.19, allocations: 57.58 kB / 1.133 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.19, allocations: 4 kB / 1.133 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.19, allocations: 4 kB / 1.133 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.19, allocations: 0 / 1.133 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/1.19, allocations: 11.98 kB / 1.133 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.19, allocations: 3.984 kB / 1.133 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/1.19, allocations: 3.938 kB / 1.133 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/1.19, allocations: 0 / 1.133 GB, free: 13.86 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/1.19, allocations: 113.8 kB / 1.133 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/1.19, allocations: 3.953 kB / 1.133 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/1.19, allocations: 61.11 kB / 1.133 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.19, allocations: 7.938 kB / 1.133 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.19, allocations: 0 / 1.133 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.19, allocations: 0 / 1.133 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/1.19, allocations: 153.7 kB / 1.133 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.19, allocations: 3.938 kB / 1.133 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/1.19, allocations: 4 kB / 1.133 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.191, allocations: 3.984 kB / 1.133 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.191, allocations: 7.953 kB / 1.133 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.191, allocations: 4 kB / 1.133 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/1.191, allocations: 0 / 1.133 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/1.191, allocations: 77.03 kB / 1.133 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/1.191, allocations: 85.09 kB / 1.133 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/1.191, allocations: 0 / 1.133 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/1.191, allocations: 3.953 kB / 1.133 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/1.191, allocations: 4 kB / 1.133 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/1.191, allocations: 0 / 1.133 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.042e-05/1.191, allocations: 95.2 kB / 1.133 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/1.191, allocations: 0 / 1.133 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001809/1.191, allocations: 8 kB / 1.133 GB, free: 13.13 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/1.191, allocations: 115.2 kB / 1.134 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001276/1.191, allocations: 19.98 kB / 1.134 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.191, allocations: 0 / 1.134 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/1.191, allocations: 8 kB / 1.134 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/1.192, allocations: 8.547 kB / 1.134 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/1.192, allocations: 148.4 kB / 1.134 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/1.192, allocations: 0.6731 MB / 1.134 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.482e-05/1.192, allocations: 11.98 kB / 1.134 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/1.192, allocations: 7.438 kB / 1.134 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/1.192, allocations: 3.938 kB / 1.134 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.002534/1.195, allocations: 479.1 kB / 1.135 GB, free: 11.61 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches