Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001641/0.00164, allocations: 114.2 kB / 16.42 MB, free: 6.012 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.001943/0.001943, allocations: 183.8 kB / 17.35 MB, free: 5.629 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.441/1.441, 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 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002219/1.006, allocations: 1.281 MB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1877/1.193, allocations: 132 MB / 1.219 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/1.193, allocations: 0 / 1.219 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/1.194, allocations: 4 kB / 1.219 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/1.194, allocations: 5.344 kB / 1.219 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/1.194, allocations: 59.47 kB / 1.219 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.882e-05/1.194, allocations: 23 kB / 1.219 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/1.194, allocations: 9.125 kB / 1.219 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/1.194, allocations: 9.719 kB / 1.219 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/1.194, allocations: 12.33 kB / 1.219 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/1.194, allocations: 0 / 1.219 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/1.195, allocations: 7.781 kB / 1.219 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/1.195, allocations: 5.25 kB / 1.219 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/1.195, allocations: 15.48 kB / 1.219 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/1.195, allocations: 28.48 kB / 1.219 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.195, allocations: 4 kB / 1.219 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.595e-06/1.195, allocations: 1.156 kB / 1.219 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.511e-06/1.195, allocations: 0 / 1.219 GB, free: 2.395 MB / 0.9512 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.0004998/1.195, allocations: 331 kB / 1.219 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/1.195, allocations: 8.438 kB / 1.219 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/1.195, allocations: 3.125 kB / 1.219 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/1.196, allocations: 171.2 kB / 1.219 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/1.196, allocations: 37.47 kB / 1.219 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/1.196, allocations: 1.562 kB / 1.219 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/1.196, allocations: 39.59 kB / 1.22 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.196, allocations: 3.938 kB / 1.22 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/1.196, allocations: 1.469 kB / 1.22 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.196, allocations: 0 / 1.22 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/1.196, allocations: 11.23 kB / 1.22 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/1.196, allocations: 161.6 kB / 1.22 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/1.196, allocations: 35.39 kB / 1.22 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/1.196, allocations: 19 kB / 1.22 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/1.197, allocations: 85.36 kB / 1.22 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.197, allocations: 35.8 kB / 1.22 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.197, allocations: 0 / 1.22 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002533/1.197, allocations: 62.44 kB / 1.22 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.197, allocations: 52.34 kB / 1.22 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/1.197, allocations: 101.2 kB / 1.22 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/1.197, allocations: 26.86 kB / 1.22 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/1.197, allocations: 80.14 kB / 1.22 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/1.197, allocations: 9.125 kB / 1.22 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/1.197, allocations: 17.41 kB / 1.22 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.197, allocations: 320 kB / 1.221 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/1.197, allocations: 7.375 kB / 1.221 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/1.197, allocations: 5.562 kB / 1.221 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/1.197, allocations: 22.22 kB / 1.221 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.197, allocations: 3.938 kB / 1.221 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001309/1.198, allocations: 60.45 kB / 1.221 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.198, allocations: 5.469 kB / 1.221 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.198, allocations: 7.938 kB / 1.221 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.198, allocations: 0 / 1.221 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/1.198, allocations: 5.062 kB / 1.221 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.198, allocations: 1.125 kB / 1.221 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/1.198, allocations: 5.188 kB / 1.221 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/1.198, allocations: 1.156 kB / 1.221 GB, free: 0.5859 MB / 0.9512 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.856e-05/1.198, allocations: 111 kB / 1.221 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/1.198, allocations: 1.125 kB / 1.221 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/1.198, allocations: 62.69 kB / 1.221 GB, free: 420 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.198, allocations: 4.859 kB / 1.221 GB, free: 416 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.198, allocations: 3.938 kB / 1.221 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/1.198, allocations: 79.39 kB / 1.221 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.198, allocations: 0 / 1.221 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/1.198, allocations: 2.344 kB / 1.221 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/1.198, allocations: 5.078 kB / 1.221 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001701/1.198, allocations: 127.4 kB / 1.221 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002172/1.199, allocations: 233.6 kB / 1.221 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.34e-05/1.199, allocations: 9.484 kB / 1.221 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.798e-05/1.199, allocations: 81.56 kB / 1.221 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of Backend: time 1.9e-07/1.199, allocations: 0 / 1.221 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004239/1.199, allocations: 99.33 kB / 1.221 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0004961/1.2, allocations: 0.575 MB / 1.222 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.002765/1.203, allocations: 463.3 kB / 1.222 GB, free: 14.97 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches