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.001244/0.001244, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001705/0.001706, allocations: 172.7 kB / 15.95 MB, free: 208 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.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.908/2.908, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003993, allocations: 9 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001555/0.3832, allocations: 0.9939 MB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1658/0.549, allocations: 119.6 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.5491, allocations: 0 / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.5491, allocations: 0 / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.5492, allocations: 7.922 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.5496, allocations: 43.86 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.5497, allocations: 23.86 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.424e-05/0.5498, allocations: 0 / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.5498, allocations: 11.94 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.5499, allocations: 7.984 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.55, allocations: 4 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.5501, allocations: 11.98 kB / 1.176 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.5501, allocations: 7.938 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.5501, allocations: 25.7 kB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.5502, allocations: 20.27 kB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.5502, allocations: 0 / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5502, allocations: 4 kB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5503, allocations: 0 / 1.176 GB, free: 12.2 MB / 0.9356 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.0004657/0.5507, allocations: 331.3 kB / 1.176 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5508, allocations: 15.97 kB / 1.176 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.5508, allocations: 4 kB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.551, allocations: 163 kB / 1.176 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.5511, allocations: 29.7 kB / 1.176 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.5511, allocations: 3.938 kB / 1.176 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.5513, allocations: 45.69 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5513, allocations: 3.938 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5513, allocations: 7.969 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5513, allocations: 0 / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.5514, allocations: 8 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.5516, allocations: 161.6 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5518, allocations: 30.61 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.5518, allocations: 20.86 kB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.552, allocations: 89.19 kB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.5521, allocations: 30.56 kB / 1.177 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5521, allocations: 0 / 1.177 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002712/0.5524, allocations: 61.52 kB / 1.177 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.5524, allocations: 55.41 kB / 1.177 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.5525, allocations: 101.8 kB / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.5526, allocations: 25.7 kB / 1.177 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.5526, allocations: 84.14 kB / 1.177 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.5527, allocations: 7.844 kB / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5527, allocations: 0 / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5528, allocations: 314.8 kB / 1.177 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.5529, allocations: 7.984 kB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.5529, allocations: 8 kB / 1.177 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.553, allocations: 15.98 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.553, allocations: 0 / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001285/0.5531, allocations: 53.58 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5531, allocations: 4 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5531, allocations: 4 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5532, allocations: 0 / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.5532, allocations: 4 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5533, allocations: 0 / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.5533, allocations: 7.984 kB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5533, allocations: 4 kB / 1.178 GB, free: 10.29 MB / 0.9356 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 9.35e-05/0.5534, allocations: 105.8 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.5534, allocations: 7.859 kB / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.5536, allocations: 65.11 kB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5536, allocations: 0 / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5536, allocations: 3.938 kB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5536, allocations: 0.5625 kB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.5538, allocations: 161.6 kB / 1.178 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5538, allocations: 0 / 1.178 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.5538, allocations: 4 kB / 1.178 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5539, allocations: 7.953 kB / 1.178 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.5539, allocations: 0 / 1.178 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5539, allocations: 0 / 1.178 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5539, allocations: 3.984 kB / 1.178 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.554, allocations: 81.03 kB / 1.178 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.5541, allocations: 85.11 kB / 1.178 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5542, allocations: 3.953 kB / 1.178 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.977e-05/0.5542, allocations: 7.984 kB / 1.178 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.5542, allocations: 4 kB / 1.178 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.5542, allocations: 0 / 1.178 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.5543, allocations: 79.28 kB / 1.178 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5543, allocations: 0 / 1.178 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002001/0.5545, allocations: 8 kB / 1.178 GB, free: 9.566 MB / 0.9356 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.0001772/0.5547, allocations: 115.2 kB / 1.178 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5548, allocations: 19.98 kB / 1.178 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5548, allocations: 0 / 1.178 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.5549, allocations: 19.92 kB / 1.178 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5551, allocations: 4 kB / 1.178 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.5554, allocations: 144.4 kB / 1.178 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.5557, allocations: 0.677 MB / 1.179 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.5557, allocations: 7.938 kB / 1.179 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.5557, allocations: 7.438 kB / 1.179 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.5557, allocations: 0 / 1.179 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.002777/0.5585, allocations: 480.1 kB / 1.18 GB, free: 8.047 MB / 0.9356 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/jenkins/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