Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example6") translateModel(Buildings.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_9_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.001275/0.001275, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001198/0.001199, allocations: 190.7 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.15 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.139/2.139, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 64.05 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6718, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example6): time 0.001492/0.6733, allocations: 0.5366 MB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.6735, allocations: 47.77 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.6736, allocations: 1.438 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.738e-05/0.6737, allocations: 0.7969 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.693e-05/0.6737, allocations: 7.922 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.6739, allocations: 16.91 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00386/0.6777, allocations: 4.575 MB / 1.094 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6779, allocations: 42.7 kB / 1.094 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.6805, allocations: 1.537 MB / 1.095 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.6845, allocations: 2.104 MB / 1.097 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001641/0.6862, allocations: 250.2 kB / 1.097 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.6875, allocations: 250.5 kB / 1.098 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.6894, allocations: 1.586 MB / 1.099 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.6924, allocations: 1.687 MB / 1.101 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.6952, allocations: 3.025 MB / 1.104 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6952, allocations: 5 kB / 1.104 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6953, allocations: 4 kB / 1.104 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.712e-05/0.6954, allocations: 0 / 1.104 GB, free: 0.8242 MB / 0.8575 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.0166/0.712, allocations: 6.338 MB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.712, allocations: 9.578 kB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.7129, allocations: 380.3 kB / 1.11 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.716, allocations: 1.287 MB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.7163, allocations: 415.9 kB / 1.112 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.7176, allocations: 0.7893 MB / 1.113 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.7278, allocations: 4.996 MB / 1.118 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.934e-05/0.7279, allocations: 0.8438 kB / 1.118 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004841/0.7284, allocations: 168.1 kB / 1.118 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/0.7285, allocations: 94.22 kB / 1.118 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00882/0.7373, allocations: 4.4 MB / 1.122 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.7601, allocations: 10.23 MB / 1.132 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08675/0.8469, allocations: 31.45 MB / 1.163 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007773/0.8547, allocations: 3.939 MB / 1.167 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006571/0.8554, allocations: 107.8 kB / 1.167 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.299e-05/0.8555, allocations: 134.4 kB / 1.167 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1000): time 1.018e-05/0.8555, allocations: 0 / 1.167 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1000): time 0.02351/0.879, allocations: 11.71 MB / 1.179 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.8791, allocations: 159.2 kB / 1.179 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.8795, allocations: 257.7 kB / 1.179 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/0.8809, allocations: 257.7 kB / 1.179 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.8812, allocations: 203.6 kB / 1.179 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.003563/0.8848, allocations: 3.808 MB / 1.183 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003185/0.888, allocations: 1.973 MB / 1.185 GB, free: 11.31 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.8881, allocations: 310 kB / 1.185 GB, free: 11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006862/0.895, allocations: 4.125 MB / 1.189 GB, free: 6.871 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007757/0.9027, allocations: 4.956 MB / 1.194 GB, free: 1.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/0.9174, allocations: 9.32 MB / 1.203 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.9174, allocations: 0 / 1.203 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1501) (initialization): time 0.01706/0.9345, allocations: 11 MB / 1.214 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.9346, allocations: 8 kB / 1.214 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.9346, allocations: 0 / 1.214 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.651e-05/0.9347, allocations: 48 kB / 1.214 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00991/0.9446, allocations: 2.711 MB / 1.217 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001619/0.9448, allocations: 51.98 kB / 1.217 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/0.9487, allocations: 1.244 MB / 1.218 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000848/0.9495, allocations: 328 kB / 1.218 GB, free: 9.184 MB / 0.9512 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.00228/0.9518, allocations: 1.011 MB / 1.219 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009586/0.9528, allocations: 320.2 kB / 1.22 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.9688, allocations: 9.494 MB / 1.229 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-05/0.9689, allocations: 47.81 kB / 1.229 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.9689, allocations: 0 / 1.229 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002702/0.9716, allocations: 1.166 MB / 1.23 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009761/0.9726, allocations: 351.7 kB / 1.23 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/0.9761, allocations: 0.6398 MB / 1.231 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009908/0.9771, allocations: 0.5419 MB / 1.232 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04203/1.019, allocations: 15.28 MB / 1.246 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02654/1.046, allocations: 16.49 MB / 1.263 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00772/1.053, allocations: 4.998 MB / 1.267 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.113e-05/1.054, allocations: 83.22 kB / 1.268 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Backend: time 3.8e-07/1.054, allocations: 0 / 1.268 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.067, allocations: 6.718 MB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of SimCode: time 0.01505/1.082, allocations: 14.44 MB / 1.288 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Templates: time 0.11/1.192, allocations: 73.42 MB / 1.36 GB, free: 7.871 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example6.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example6.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example6.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example6.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example6.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches