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.001384/0.001384, allocations: 102.2 kB / 16.27 MB, free: 6 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.001312/0.001312, allocations: 191 kB / 17.2 MB, free: 5.609 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 64.39 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3356, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003483/0.3392, allocations: 1.273 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7547/1.094, allocations: 132 MB / 1.194 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/1.094, allocations: 0 / 1.194 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/1.094, allocations: 5.188 kB / 1.194 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/1.094, allocations: 3.938 kB / 1.194 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/1.094, allocations: 59.84 kB / 1.194 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.501e-05/1.094, allocations: 23.2 kB / 1.194 GB, free: 11.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/1.095, allocations: 13.2 kB / 1.194 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/1.095, allocations: 9.609 kB / 1.195 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/1.095, allocations: 12.25 kB / 1.195 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/1.095, allocations: 0 / 1.195 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/1.095, allocations: 12.08 kB / 1.195 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/1.095, allocations: 5.469 kB / 1.195 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/1.095, allocations: 6.688 kB / 1.195 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/1.095, allocations: 23.03 kB / 1.195 GB, free: 11.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.095, allocations: 0 / 1.195 GB, free: 11.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/1.095, allocations: 1.375 kB / 1.195 GB, free: 11.37 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.919e-06/1.095, allocations: 0 / 1.195 GB, free: 11.37 MB / 0.92 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.000398/1.095, allocations: 337.4 kB / 1.195 GB, free: 11 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/1.095, allocations: 10.31 kB / 1.195 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/1.095, allocations: 3.938 kB / 1.195 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.096, allocations: 168.9 kB / 1.195 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/1.096, allocations: 29.05 kB / 1.195 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/1.096, allocations: 1.5 kB / 1.195 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/1.096, allocations: 44.19 kB / 1.195 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.096, allocations: 7.938 kB / 1.195 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/1.096, allocations: 1.406 kB / 1.195 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.096, allocations: 0 / 1.195 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.502e-05/1.096, allocations: 15.55 kB / 1.195 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/1.096, allocations: 153.2 kB / 1.195 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/1.096, allocations: 32.48 kB / 1.195 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/1.096, allocations: 14.02 kB / 1.195 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.096, allocations: 97.22 kB / 1.195 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.096, allocations: 31.59 kB / 1.195 GB, free: 10.33 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.096, allocations: 0 / 1.195 GB, free: 10.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002249/1.097, allocations: 63.28 kB / 1.196 GB, free: 10.28 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.097, allocations: 52.47 kB / 1.196 GB, free: 10.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/1.097, allocations: 101.2 kB / 1.196 GB, free: 10.11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.097, allocations: 29.7 kB / 1.196 GB, free: 10.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/1.097, allocations: 81.36 kB / 1.196 GB, free: 9.992 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/1.097, allocations: 10.22 kB / 1.196 GB, free: 9.984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/1.097, allocations: 16.03 kB / 1.196 GB, free: 9.965 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.097, allocations: 312 kB / 1.196 GB, free: 9.652 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/1.097, allocations: 8.484 kB / 1.196 GB, free: 9.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.784e-05/1.097, allocations: 12.41 kB / 1.196 GB, free: 9.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.732e-05/1.097, allocations: 27 kB / 1.196 GB, free: 9.621 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.097, allocations: 0 / 1.196 GB, free: 9.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001229/1.097, allocations: 49.03 kB / 1.196 GB, free: 9.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.097, allocations: 9.562 kB / 1.196 GB, free: 9.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.097, allocations: 0 / 1.196 GB, free: 9.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.097, allocations: 0 / 1.196 GB, free: 9.578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/1.097, allocations: 9.766 kB / 1.196 GB, free: 9.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.098, allocations: 3.938 kB / 1.196 GB, free: 9.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/1.098, allocations: 5.75 kB / 1.196 GB, free: 9.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.098, allocations: 5.156 kB / 1.196 GB, free: 9.562 MB / 0.92 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.547e-05/1.098, allocations: 110.9 kB / 1.196 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/1.098, allocations: 5.094 kB / 1.196 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/1.098, allocations: 60.08 kB / 1.196 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.098, allocations: 0 / 1.196 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.098, allocations: 1.094 kB / 1.196 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/1.098, allocations: 0 / 1.196 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/1.098, allocations: 154 kB / 1.197 GB, free: 9.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.098, allocations: 7.875 kB / 1.197 GB, free: 9.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/1.098, allocations: 8.578 kB / 1.197 GB, free: 9.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.098, allocations: 8.969 kB / 1.197 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/1.098, allocations: 0 / 1.197 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.098, allocations: 1.156 kB / 1.197 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.098, allocations: 0 / 1.197 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.098, allocations: 72.94 kB / 1.197 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/1.098, allocations: 83.08 kB / 1.197 GB, free: 9.008 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.098, allocations: 7.938 kB / 1.197 GB, free: 9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/1.098, allocations: 6.562 kB / 1.197 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/1.098, allocations: 1.375 kB / 1.197 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/1.098, allocations: 0 / 1.197 GB, free: 8.996 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.347e-05/1.098, allocations: 85.94 kB / 1.197 GB, free: 8.914 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 0 / 1.197 GB, free: 8.914 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000193/1.099, allocations: 11.09 kB / 1.197 GB, free: 8.914 MB / 0.92 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.0001695/1.099, allocations: 117.8 kB / 1.197 GB, free: 8.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.099, allocations: 24.64 kB / 1.197 GB, free: 8.797 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.099, allocations: 0 / 1.197 GB, free: 8.797 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/1.099, allocations: 11.44 kB / 1.197 GB, free: 8.793 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/1.099, allocations: 7.578 kB / 1.197 GB, free: 8.789 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/1.1, allocations: 157 kB / 1.197 GB, free: 8.633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/1.1, allocations: 0.6762 MB / 1.198 GB, free: 7.934 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/1.1, allocations: 9.594 kB / 1.198 GB, free: 7.926 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/1.1, allocations: 1.125 kB / 1.198 GB, free: 7.926 MB / 0.92 GB Notification: Performance of Templates: time 0.001986/1.102, allocations: 0.5745 MB / 1.198 GB, free: 7.641 MB / 0.92 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