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.00187/0.00187, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.002349/0.002349, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.398/1.398, 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.0-master/package.mo): time 2.527/2.527, allocations: 461.7 MB / 0.7353 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9012, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002714/0.9039, allocations: 1.271 MB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1436/1.048, allocations: 132 MB / 1.338 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/1.048, allocations: 0 / 1.338 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/1.048, allocations: 3.938 kB / 1.338 GB, free: 7.973 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/1.048, allocations: 4 kB / 1.338 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/1.048, allocations: 67.64 kB / 1.338 GB, free: 7.902 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/1.048, allocations: 23.88 kB / 1.338 GB, free: 7.879 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/1.048, allocations: 7.984 kB / 1.338 GB, free: 7.871 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/1.048, allocations: 4 kB / 1.338 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/1.048, allocations: 8 kB / 1.338 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/1.048, allocations: 0 / 1.338 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/1.048, allocations: 23.86 kB / 1.339 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/1.048, allocations: 0 / 1.339 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/1.049, allocations: 4 kB / 1.339 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/1.049, allocations: 39.69 kB / 1.339 GB, free: 7.797 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/1.049, allocations: 0 / 1.339 GB, free: 7.797 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.049, allocations: 0 / 1.339 GB, free: 7.797 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.108e-06/1.049, allocations: 7.938 kB / 1.339 GB, free: 7.789 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.0003708/1.049, allocations: 327.6 kB / 1.339 GB, free: 7.418 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.049, allocations: 8.031 kB / 1.339 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/1.049, allocations: 4.844 kB / 1.339 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.049, allocations: 166.4 kB / 1.339 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/1.049, allocations: 26.27 kB / 1.339 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/1.049, allocations: 4.375 kB / 1.339 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/1.049, allocations: 50.17 kB / 1.339 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.049, allocations: 7.938 kB / 1.339 GB, free: 7.109 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/1.05, allocations: 0 / 1.339 GB, free: 7.109 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.05, allocations: 4 kB / 1.339 GB, free: 7.105 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/1.05, allocations: 4 kB / 1.339 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/1.05, allocations: 153.7 kB / 1.339 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/1.05, allocations: 34.61 kB / 1.339 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/1.05, allocations: 16.86 kB / 1.339 GB, free: 6.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/1.05, allocations: 93.17 kB / 1.339 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/1.05, allocations: 34.5 kB / 1.339 GB, free: 6.688 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.05, allocations: 3.938 kB / 1.339 GB, free: 6.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002185/1.05, allocations: 61.61 kB / 1.34 GB, free: 6.617 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/1.05, allocations: 51.41 kB / 1.34 GB, free: 6.555 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/1.05, allocations: 105.8 kB / 1.34 GB, free: 6.441 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.05, allocations: 25.7 kB / 1.34 GB, free: 6.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/1.05, allocations: 80.14 kB / 1.34 GB, free: 6.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.051, allocations: 11.75 kB / 1.34 GB, free: 6.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/1.051, allocations: 17.72 kB / 1.34 GB, free: 6.293 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/1.051, allocations: 310.8 kB / 1.34 GB, free: 5.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/1.051, allocations: 7.984 kB / 1.34 GB, free: 5.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/1.051, allocations: 12 kB / 1.34 GB, free: 5.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/1.051, allocations: 28.78 kB / 1.34 GB, free: 5.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.051, allocations: 0 / 1.34 GB, free: 5.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001219/1.051, allocations: 49.69 kB / 1.34 GB, free: 5.875 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.051, allocations: 7.984 kB / 1.34 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.051, allocations: 3.938 kB / 1.34 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.051, allocations: 0 / 1.34 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/1.051, allocations: 8 kB / 1.34 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.051, allocations: 0 / 1.34 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/1.051, allocations: 4 kB / 1.34 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/1.051, allocations: 0 / 1.34 GB, free: 5.852 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.472e-05/1.051, allocations: 109.8 kB / 1.34 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/1.051, allocations: 3.984 kB / 1.34 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/1.051, allocations: 61.06 kB / 1.34 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.051, allocations: 4 kB / 1.34 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.051, allocations: 3.938 kB / 1.34 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/1.051, allocations: 81.09 kB / 1.34 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/1.051, allocations: 4 kB / 1.34 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/1.052, allocations: 4 kB / 1.34 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/1.052, allocations: 3.984 kB / 1.34 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001458/1.052, allocations: 125.5 kB / 1.341 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001756/1.052, allocations: 230.7 kB / 1.341 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.952e-05/1.052, allocations: 16.03 kB / 1.341 GB, free: 5.156 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.358e-05/1.052, allocations: 83.27 kB / 1.341 GB, free: 5.074 MB / 1.061 GB Notification: Performance of Backend: time 1.573e-06/1.052, allocations: 0 / 1.341 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003942/1.052, allocations: 106.3 kB / 1.341 GB, free: 4.961 MB / 1.061 GB Notification: Performance of SimCode: time 0.0004144/1.053, allocations: 0.5772 MB / 1.342 GB, free: 4.34 MB / 1.061 GB Notification: Performance of Templates: time 0.002403/1.055, allocations: 470 kB / 1.342 GB, free: 3.883 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