Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example7.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.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example7") translateModel(Buildings.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 110.9 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.0009904/0.0009904, 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.381/1.381, 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 9.1.3-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001167, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7399, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example7): time 0.001455/0.7414, allocations: 0.5326 MB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.7415, allocations: 45.08 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.7416, allocations: 0 / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.076e-05/0.7416, allocations: 0 / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.7417, allocations: 5.891 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.7418, allocations: 16.66 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.7449, allocations: 3.16 MB / 1.092 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.745, allocations: 18.02 kB / 1.092 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.7473, allocations: 1.152 MB / 1.093 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.7508, allocations: 1.59 MB / 1.095 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.7519, allocations: 155.5 kB / 1.095 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.7524, allocations: 156.7 kB / 1.095 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.7535, allocations: 1.073 MB / 1.096 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.7555, allocations: 1.098 MB / 1.097 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.7581, allocations: 2.027 MB / 1.099 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7581, allocations: 1.406 kB / 1.099 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7581, allocations: 0 / 1.099 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.169e-05/0.7582, allocations: 0 / 1.099 GB, free: 2.5 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: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.01588/0.774, allocations: 4.87 MB / 1.104 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.7741, allocations: 8.188 kB / 1.104 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.7748, allocations: 225.1 kB / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.7775, allocations: 0.9016 MB / 1.105 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.7777, allocations: 273.4 kB / 1.105 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.7791, allocations: 0.6086 MB / 1.106 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/0.7855, allocations: 3.007 MB / 1.109 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.733e-05/0.7856, allocations: 4.125 kB / 1.109 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.7859, allocations: 83.5 kB / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.786, allocations: 47.34 kB / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.7896, allocations: 1.938 MB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.7946, allocations: 2.75 MB / 1.114 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07257/0.8672, allocations: 19.36 MB / 1.133 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005228/0.8724, allocations: 2.224 MB / 1.135 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/0.8732, allocations: 55.45 kB / 1.135 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.8733, allocations: 78.64 kB / 1.135 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=500): time 1.054e-05/0.8733, allocations: 0 / 1.135 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=500): time 0.0184/0.8917, allocations: 7.073 MB / 1.142 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.8918, allocations: 102.5 kB / 1.142 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.8922, allocations: 266.9 kB / 1.142 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/0.8933, allocations: 185.5 kB / 1.142 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.8935, allocations: 188.2 kB / 1.143 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.002434/0.896, allocations: 2.174 MB / 1.145 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002691/0.8987, allocations: 1.398 MB / 1.146 GB, free: 72 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8988, allocations: 311.1 kB / 1.146 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/0.9035, allocations: 2.837 MB / 1.149 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004493/0.908, allocations: 2.952 MB / 1.152 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009188/0.9172, allocations: 6.547 MB / 1.158 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.9172, allocations: 4 kB / 1.158 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01097/0.9282, allocations: 7.51 MB / 1.166 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.9283, allocations: 4 kB / 1.166 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.9283, allocations: 0 / 1.166 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.735e-05/0.9283, allocations: 35.94 kB / 1.166 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007104/0.9355, allocations: 1.724 MB / 1.167 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.975e-05/0.9356, allocations: 32 kB / 1.167 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.9386, allocations: 0.7516 MB / 1.168 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/0.9391, allocations: 220 kB / 1.168 GB, free: 12.38 MB / 0.9044 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 (1000): * Single equations (assignments): 1000 * 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.001495/0.9407, allocations: 0.6212 MB / 1.169 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006596/0.9413, allocations: 158 kB / 1.169 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.9524, allocations: 5.884 MB / 1.175 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.009e-05/0.9525, allocations: 27.91 kB / 1.175 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.9525, allocations: 0 / 1.175 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/0.9544, allocations: 0.7319 MB / 1.176 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/0.9553, allocations: 271.7 kB / 1.176 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002914/0.9582, allocations: 331.6 kB / 1.176 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007753/0.959, allocations: 295.4 kB / 1.177 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04302/1.002, allocations: 11.94 MB / 1.188 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01674/1.019, allocations: 9.379 MB / 1.197 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004698/1.024, allocations: 2.871 MB / 1.2 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.37e-05/1.024, allocations: 87.53 kB / 1.2 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of Backend: time 4.31e-07/1.024, allocations: 0 / 1.2 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009327/1.033, allocations: 4.634 MB / 1.205 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of SimCode: time 0.01275/1.046, allocations: 12.25 MB / 1.217 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.08506/1.131, allocations: 54.11 MB / 1.27 GB, free: 4.516 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example7.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example7.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example7.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example7.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example7.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example7.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches