Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001582/0.001582, allocations: 192.3 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.551/2.551, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 63.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.034, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002944/1.037, allocations: 1.506 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1702/1.207, allocations: 132.1 MB / 1.298 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/1.207, allocations: 0 / 1.298 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.334e-05/1.207, allocations: 3.938 kB / 1.298 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/1.207, allocations: 7.938 kB / 1.298 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/1.208, allocations: 67.66 kB / 1.298 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/1.208, allocations: 55.83 kB / 1.298 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/1.208, allocations: 19.8 kB / 1.298 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/1.208, allocations: 19.81 kB / 1.298 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/1.208, allocations: 31.84 kB / 1.298 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/1.208, allocations: 4 kB / 1.298 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/1.209, allocations: 16 kB / 1.298 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/1.209, allocations: 11.92 kB / 1.298 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/1.209, allocations: 23.86 kB / 1.298 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/1.209, allocations: 55.81 kB / 1.298 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.209, allocations: 0 / 1.298 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/1.209, allocations: 4 kB / 1.298 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.209, allocations: 0 / 1.298 GB, free: 13.48 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000637/1.209, allocations: 373.1 kB / 1.298 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.21, allocations: 8.922 kB / 1.298 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/1.21, allocations: 4.938 kB / 1.298 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/1.21, allocations: 180.2 kB / 1.299 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.21, allocations: 4.375 kB / 1.299 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/1.21, allocations: 4.375 kB / 1.299 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/1.21, allocations: 78.16 kB / 1.299 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.21, allocations: 192 / 1.299 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/1.21, allocations: 3.938 kB / 1.299 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.21, allocations: 0 / 1.299 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/1.21, allocations: 71.92 kB / 1.299 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/1.211, allocations: 284.7 kB / 1.299 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/1.211, allocations: 62.47 kB / 1.299 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.211, allocations: 32.92 kB / 1.299 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/1.212, allocations: 97.09 kB / 1.299 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.212, allocations: 34.5 kB / 1.299 GB, free: 12.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/1.212, allocations: 0 / 1.299 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005922/1.212, allocations: 125.8 kB / 1.299 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.212, allocations: 55.41 kB / 1.299 GB, free: 11.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/1.212, allocations: 117.8 kB / 1.3 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/1.212, allocations: 29.64 kB / 1.3 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/1.213, allocations: 96.03 kB / 1.3 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/1.213, allocations: 7.906 kB / 1.3 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/1.213, allocations: 17.66 kB / 1.3 GB, free: 11.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.213, allocations: 318.8 kB / 1.3 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/1.213, allocations: 31.97 kB / 1.3 GB, free: 11.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/1.213, allocations: 35.95 kB / 1.3 GB, free: 11.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/1.213, allocations: 72.72 kB / 1.3 GB, free: 11.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.213, allocations: 0 / 1.3 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/1.214, allocations: 97.62 kB / 1.3 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.214, allocations: 7.984 kB / 1.3 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.214, allocations: 0 / 1.3 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.214, allocations: 0 / 1.3 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/1.214, allocations: 19.92 kB / 1.3 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/1.214, allocations: 0 / 1.3 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/1.214, allocations: 23.83 kB / 1.3 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/1.214, allocations: 0 / 1.3 GB, free: 10.99 MB / 1.029 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.897e-05/1.214, allocations: 117.8 kB / 1.3 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/1.214, allocations: 0 / 1.3 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/1.215, allocations: 109.5 kB / 1.3 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/1.215, allocations: 4 kB / 1.3 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.215, allocations: 4 kB / 1.3 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/1.215, allocations: 81.02 kB / 1.301 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.215, allocations: 0 / 1.301 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.215, allocations: 11.98 kB / 1.301 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/1.215, allocations: 7.922 kB / 1.301 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004101/1.215, allocations: 188.8 kB / 1.301 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004062/1.216, allocations: 270.8 kB / 1.301 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001546/1.216, allocations: 39.95 kB / 1.301 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.681e-05/1.216, allocations: 91.22 kB / 1.301 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Backend: time 4.01e-07/1.216, allocations: 0 / 1.301 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005798/1.216, allocations: 126.3 kB / 1.301 GB, free: 9.891 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006698/1.217, allocations: 0.6154 MB / 1.302 GB, free: 9.23 MB / 1.029 GB Notification: Performance of Templates: time 0.004039/1.221, allocations: 1.052 MB / 1.303 GB, free: 8.191 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches