Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example6") translateModel(Buildings.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 112.3 kB / 16.42 MB, free: 6.5 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.001172/0.001172, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.294/1.294, 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 11.0.1-master/package.mo): time 2.524/2.524, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7015, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example6): time 0.001551/0.7031, allocations: 0.5405 MB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.7033, allocations: 43.88 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.7034, allocations: 3.938 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.7035, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.814e-05/0.7035, allocations: 3.938 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.7037, allocations: 19.95 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00337/0.7071, allocations: 4.577 MB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.7072, allocations: 39.98 kB / 1.214 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.7093, allocations: 1.538 MB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.713, allocations: 2.114 MB / 1.217 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008844/0.7138, allocations: 248 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007919/0.7146, allocations: 252 kB / 1.218 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.7162, allocations: 1.586 MB / 1.219 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002656/0.7188, allocations: 1.676 MB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.7211, allocations: 3.033 MB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7211, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7211, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.703e-05/0.7212, allocations: 0 / 1.224 GB, free: 13.94 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: 1001 * Number of variables: 1001 Notification: Performance of Generate backend data structure: time 0.01331/0.7345, allocations: 6.343 MB / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7345, allocations: 8.031 kB / 1.23 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.7352, allocations: 381.1 kB / 1.23 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.7373, allocations: 1.285 MB / 1.232 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.7375, allocations: 420.2 kB / 1.232 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009543/0.7385, allocations: 0.7875 MB / 1.233 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006813/0.7453, allocations: 4.991 MB / 1.238 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.7454, allocations: 192 / 1.238 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.7458, allocations: 163.9 kB / 1.238 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/0.7458, allocations: 96 kB / 1.238 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006246/0.7521, allocations: 4.402 MB / 1.242 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.7696, allocations: 10.23 MB / 1.252 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08624/0.8559, allocations: 31.45 MB / 1.283 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006763/0.8627, allocations: 3.928 MB / 1.287 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/0.8632, allocations: 103.8 kB / 1.287 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.964e-05/0.8633, allocations: 138.4 kB / 1.287 GB, free: 13.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1000): time 1.18e-05/0.8633, allocations: 4 kB / 1.287 GB, free: 13.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=1000): time 0.02063/0.8839, allocations: 11.71 MB / 1.298 GB, free: 1.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.8841, allocations: 151.2 kB / 1.298 GB, free: 1.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.8843, allocations: 261.7 kB / 1.299 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006252/0.885, allocations: 261.7 kB / 1.299 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.8851, allocations: 195.6 kB / 1.299 GB, free: 448 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00266/0.8878, allocations: 3.812 MB / 1.303 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/0.8907, allocations: 1.973 MB / 1.305 GB, free: 10.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8908, allocations: 314 kB / 1.305 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007284/0.8981, allocations: 4.121 MB / 1.309 GB, free: 6.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007591/0.9057, allocations: 4.952 MB / 1.314 GB, free: 1.207 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.9201, allocations: 9.319 MB / 1.323 GB, free: 7.871 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.529e-05/0.9202, allocations: 0 / 1.323 GB, free: 7.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=1501) (initialization): time 0.01808/0.9383, allocations: 11 MB / 1.334 GB, free: 12.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.9384, allocations: 8 kB / 1.334 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.9384, allocations: 0 / 1.334 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-05/0.9385, allocations: 48 kB / 1.334 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009637/0.9481, allocations: 2.707 MB / 1.337 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002005/0.9484, allocations: 48 kB / 1.337 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.9518, allocations: 1.245 MB / 1.338 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008692/0.9527, allocations: 332 kB / 1.338 GB, free: 8.465 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (1501): * Single equations (assignments): 1501 * 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 0.002077/0.9548, allocations: 1.007 MB / 1.339 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008178/0.9556, allocations: 324.1 kB / 1.339 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/0.9716, allocations: 9.502 MB / 1.349 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.9718, allocations: 47.81 kB / 1.349 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.9718, allocations: 0 / 1.349 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/0.9737, allocations: 1.166 MB / 1.35 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008047/0.9745, allocations: 351.7 kB / 1.35 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/0.9773, allocations: 0.6438 MB / 1.351 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008917/0.9782, allocations: 0.5303 MB / 1.351 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03913/1.017, allocations: 15.28 MB / 1.366 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02426/1.042, allocations: 16.49 MB / 1.382 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007079/1.049, allocations: 4.998 MB / 1.387 GB, free: 6.023 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.451e-05/1.049, allocations: 79.28 kB / 1.387 GB, free: 5.945 MB / 1.107 GB Notification: Performance of Backend: time 4.11e-07/1.049, allocations: 3.938 kB / 1.387 GB, free: 5.941 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.061, allocations: 6.72 MB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of SimCode: time 0.0146/1.075, allocations: 14.45 MB / 1.408 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of Templates: time 0.1122/1.188, allocations: 75.43 MB / 1.482 GB, free: 5.125 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches