Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001103/0.001104, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009775/0.009775, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7131/0.7135, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001555/0.7151, allocations: 1.011 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.875, allocations: 128.5 MB / 1.149 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.8751, allocations: 3.938 kB / 1.149 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.8751, allocations: 4 kB / 1.149 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/0.8752, allocations: 3.938 kB / 1.149 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.8756, allocations: 47.8 kB / 1.15 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.8757, allocations: 19.92 kB / 1.15 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.8757, allocations: 7.938 kB / 1.15 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.386e-05/0.8758, allocations: 7.984 kB / 1.15 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.8759, allocations: 15.92 kB / 1.15 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.8759, allocations: 0 / 1.15 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.876, allocations: 19.98 kB / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.876, allocations: 0 / 1.15 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.8761, allocations: 37.64 kB / 1.15 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.8762, allocations: 29.89 kB / 1.15 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.8762, allocations: 0 / 1.15 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8762, allocations: 0 / 1.15 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.8762, allocations: 0 / 1.15 GB, free: 13.64 MB / 0.9044 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.0004672/0.8767, allocations: 327.5 kB / 1.15 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.8768, allocations: 8.031 kB / 1.15 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.8768, allocations: 4.938 kB / 1.15 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.877, allocations: 164.4 kB / 1.15 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.8771, allocations: 38.27 kB / 1.15 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.8771, allocations: 384 / 1.15 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.8773, allocations: 46.12 kB / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.8773, allocations: 3.938 kB / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.8773, allocations: 0 / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8773, allocations: 0 / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.8774, allocations: 15.98 kB / 1.15 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.8776, allocations: 153.7 kB / 1.15 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.8777, allocations: 30.67 kB / 1.15 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.8778, allocations: 20.77 kB / 1.15 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.878, allocations: 93.09 kB / 1.151 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.878, allocations: 34.56 kB / 1.151 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.878, allocations: 0 / 1.151 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002368/0.8783, allocations: 65.52 kB / 1.151 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.8783, allocations: 51.41 kB / 1.151 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.8784, allocations: 97.84 kB / 1.151 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.8784, allocations: 29.7 kB / 1.151 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.8785, allocations: 84.14 kB / 1.151 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.8785, allocations: 11.83 kB / 1.151 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.8785, allocations: 9.719 kB / 1.151 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8787, allocations: 310.8 kB / 1.151 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.8787, allocations: 15.94 kB / 1.151 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.8788, allocations: 11.98 kB / 1.151 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.767e-05/0.8789, allocations: 20.84 kB / 1.151 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8789, allocations: 0 / 1.151 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001338/0.879, allocations: 49.69 kB / 1.151 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.879, allocations: 7.938 kB / 1.151 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.879, allocations: 3.984 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8791, allocations: 0 / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.8791, allocations: 8 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8792, allocations: 7.984 kB / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.8792, allocations: 0 / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.8792, allocations: 3.938 kB / 1.151 GB, free: 11.7 MB / 0.9044 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 8.365e-05/0.8793, allocations: 113.8 kB / 1.151 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.8793, allocations: 7.875 kB / 1.151 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.8795, allocations: 57.08 kB / 1.151 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.8795, allocations: 4 kB / 1.151 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8795, allocations: 4 kB / 1.151 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8795, allocations: 3.938 kB / 1.151 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.8796, allocations: 153.7 kB / 1.152 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8796, allocations: 0 / 1.152 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.8797, allocations: 4 kB / 1.152 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.8797, allocations: 3.938 kB / 1.152 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8797, allocations: 0 / 1.152 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8797, allocations: 3.938 kB / 1.152 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8797, allocations: 7.938 kB / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.8799, allocations: 77.67 kB / 1.152 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.8799, allocations: 81.16 kB / 1.152 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.88, allocations: 7.922 kB / 1.152 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/0.88, allocations: 3.984 kB / 1.152 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.8801, allocations: 4 kB / 1.152 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.8801, allocations: 0 / 1.152 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.8801, allocations: 79.28 kB / 1.152 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8801, allocations: 4 kB / 1.152 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002145/0.8803, allocations: 12 kB / 1.152 GB, free: 10.97 MB / 0.9044 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.0001617/0.8805, allocations: 115.2 kB / 1.152 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.8806, allocations: 19.92 kB / 1.152 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8806, allocations: 0 / 1.152 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.805e-05/0.8807, allocations: 15.98 kB / 1.152 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.8809, allocations: 5.719 kB / 1.152 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.8812, allocations: 140.5 kB / 1.152 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.8815, allocations: 0.6809 MB / 1.153 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.8816, allocations: 11.94 kB / 1.153 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.8816, allocations: 7.438 kB / 1.153 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of SimCode: time 5.91e-07/0.8816, allocations: 0 / 1.153 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of Templates: time 0.002829/0.8844, allocations: 490.1 kB / 1.153 GB, free: 9.445 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches