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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001765/0.001765, allocations: 104.3 kB / 16.41 MB, free: 6.512 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.001959/0.001959, allocations: 185.8 kB / 17.34 MB, free: 5.742 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.477/1.477, 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 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9653/0.9673, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002428/0.9698, allocations: 1.282 MB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1383/1.108, allocations: 132 MB / 1.339 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/1.108, allocations: 4 kB / 1.339 GB, free: 7.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/1.108, allocations: 3.938 kB / 1.339 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/1.108, allocations: 7.922 kB / 1.339 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/1.109, allocations: 59.55 kB / 1.339 GB, free: 7.703 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/1.109, allocations: 19.92 kB / 1.339 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/1.109, allocations: 4 kB / 1.339 GB, free: 7.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/1.109, allocations: 19.86 kB / 1.339 GB, free: 7.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/1.109, allocations: 4 kB / 1.339 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/1.109, allocations: 0 / 1.339 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/1.109, allocations: 19.98 kB / 1.339 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/1.109, allocations: 0 / 1.339 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/1.109, allocations: 11.92 kB / 1.339 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/1.109, allocations: 27.58 kB / 1.339 GB, free: 7.602 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.109, allocations: 0 / 1.339 GB, free: 7.602 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/1.109, allocations: 4 kB / 1.339 GB, free: 7.598 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.489e-06/1.109, allocations: 0 / 1.339 GB, free: 7.598 MB / 1.061 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.0003804/1.11, allocations: 331.6 kB / 1.339 GB, free: 7.223 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/1.11, allocations: 8.031 kB / 1.339 GB, free: 7.215 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/1.11, allocations: 8.844 kB / 1.339 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/1.11, allocations: 166.4 kB / 1.339 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/1.11, allocations: 26.27 kB / 1.339 GB, free: 6.977 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/1.11, allocations: 4.375 kB / 1.339 GB, free: 6.973 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.11, allocations: 42.19 kB / 1.339 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.11, allocations: 3.938 kB / 1.339 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/1.11, allocations: 0 / 1.339 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/1.11, allocations: 0 / 1.339 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/1.11, allocations: 15.97 kB / 1.339 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/1.11, allocations: 161.7 kB / 1.34 GB, free: 6.699 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/1.11, allocations: 30.61 kB / 1.34 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/1.11, allocations: 12.86 kB / 1.34 GB, free: 6.645 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/1.111, allocations: 89.19 kB / 1.34 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.111, allocations: 38.5 kB / 1.34 GB, free: 6.492 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.111, allocations: 0 / 1.34 GB, free: 6.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002282/1.111, allocations: 61.61 kB / 1.34 GB, free: 6.426 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.111, allocations: 55.41 kB / 1.34 GB, free: 6.359 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/1.111, allocations: 93.86 kB / 1.34 GB, free: 6.258 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/1.111, allocations: 25.7 kB / 1.34 GB, free: 6.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/1.111, allocations: 84.12 kB / 1.34 GB, free: 6.141 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/1.111, allocations: 15.75 kB / 1.34 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/1.111, allocations: 17.72 kB / 1.34 GB, free: 6.102 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.111, allocations: 310.8 kB / 1.34 GB, free: 5.789 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/1.111, allocations: 11.98 kB / 1.34 GB, free: 5.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/1.111, allocations: 8 kB / 1.34 GB, free: 5.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/1.111, allocations: 28.72 kB / 1.34 GB, free: 5.738 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.111, allocations: 3.938 kB / 1.34 GB, free: 5.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001217/1.112, allocations: 49.69 kB / 1.34 GB, free: 5.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.112, allocations: 11.94 kB / 1.34 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/1.112, allocations: 0 / 1.34 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.112, allocations: 0 / 1.34 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/1.112, allocations: 7.984 kB / 1.34 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.112, allocations: 4 kB / 1.34 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/1.112, allocations: 0 / 1.34 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.112, allocations: 0 / 1.34 GB, free: 5.656 MB / 1.061 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 6.997e-05/1.112, allocations: 113.8 kB / 1.341 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/1.112, allocations: 3.938 kB / 1.341 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/1.112, allocations: 61.17 kB / 1.341 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.112, allocations: 0 / 1.341 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/1.112, allocations: 4 kB / 1.341 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/1.112, allocations: 0 / 1.341 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/1.112, allocations: 158.2 kB / 1.341 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.112, allocations: 4 kB / 1.341 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/1.112, allocations: 4 kB / 1.341 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.112, allocations: 7.922 kB / 1.341 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/1.112, allocations: 0 / 1.341 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.112, allocations: 4 kB / 1.341 GB, free: 5.234 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.112, allocations: 4 kB / 1.341 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/1.112, allocations: 80.95 kB / 1.341 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/1.112, allocations: 85.09 kB / 1.341 GB, free: 5.031 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/1.112, allocations: 3.938 kB / 1.341 GB, free: 5.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/1.112, allocations: 0 / 1.341 GB, free: 5.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/1.113, allocations: 4 kB / 1.341 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/1.113, allocations: 4 kB / 1.341 GB, free: 5.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.956e-05/1.113, allocations: 83.27 kB / 1.341 GB, free: 4.938 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.113, allocations: 0 / 1.341 GB, free: 4.938 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001959/1.113, allocations: 16 kB / 1.341 GB, free: 4.922 MB / 1.061 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.0001334/1.113, allocations: 107.2 kB / 1.341 GB, free: 4.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001367/1.113, allocations: 19.92 kB / 1.341 GB, free: 4.785 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.113, allocations: 0 / 1.341 GB, free: 4.785 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.214e-05/1.113, allocations: 19.94 kB / 1.341 GB, free: 4.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.113, allocations: 15.92 kB / 1.341 GB, free: 4.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/1.114, allocations: 145.4 kB / 1.341 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.114, allocations: 0.6807 MB / 1.342 GB, free: 3.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/1.114, allocations: 7.438 kB / 1.342 GB, free: 3.863 MB / 1.061 GB Notification: Performance of SimCode: time 2.4e-07/1.114, allocations: 3.938 kB / 1.342 GB, free: 3.859 MB / 1.061 GB Notification: Performance of Templates: time 0.001769/1.116, allocations: 0.5775 MB / 1.343 GB, free: 3.285 MB / 1.061 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches