Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5608, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002651/0.5635, allocations: 1.911 MB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.5646, allocations: 0.7119 MB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.5646, allocations: 6.719 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.5647, allocations: 9.047 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.5649, allocations: 40.5 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.5651, allocations: 61.92 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.5653, allocations: 122.4 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.5654, allocations: 40.23 kB / 0.9524 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.5654, allocations: 43.42 kB / 0.9525 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.5656, allocations: 52.92 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.5656, allocations: 6.5 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.5657, allocations: 18.05 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.5657, allocations: 18.73 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.5657, allocations: 50.05 kB / 0.9526 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.5658, allocations: 83.08 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5658, allocations: 0 / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5659, allocations: 5.062 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5659, allocations: 4 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004538/0.5663, allocations: 405.2 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5664, allocations: 10.19 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.5664, allocations: 13.84 kB / 0.9531 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.5666, allocations: 202.2 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.5666, allocations: 6.5 kB / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.5666, allocations: 5.844 kB / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.5668, allocations: 100.9 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5668, allocations: 0 / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5668, allocations: 1.062 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5669, allocations: 2.344 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.5671, allocations: 67.03 kB / 0.9535 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.5675, allocations: 369.2 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.5678, allocations: 52.42 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.5679, allocations: 23.56 kB / 0.9539 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.5679, allocations: 1.062 kB / 0.9539 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.5679, allocations: 39.73 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.5679, allocations: 0 / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003873/0.5683, allocations: 103.7 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.5684, allocations: 51.41 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.5685, allocations: 152.3 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.5685, allocations: 25.7 kB / 0.9542 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.5686, allocations: 109 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.5686, allocations: 13.06 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.5687, allocations: 17.44 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.5687, allocations: 321.6 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.5688, allocations: 27.69 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.5689, allocations: 24.09 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.5691, allocations: 51.81 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5691, allocations: 1.219 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.5693, allocations: 85.09 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5694, allocations: 13.36 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5694, allocations: 0 / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5694, allocations: 0 / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.5695, allocations: 8.969 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5695, allocations: 3.984 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.5696, allocations: 12.88 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.5696, allocations: 1.688 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001103/0.5697, allocations: 108.7 kB / 0.955 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.523e-05/0.5698, allocations: 19.64 kB / 0.955 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001465/0.5699, allocations: 47.12 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.5699, allocations: 5.281 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0001919/0.5701, allocations: 88 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.5701, allocations: 4.719 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.42e-07/0.5701, allocations: 0 / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-06/0.5702, allocations: 5.094 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.5702, allocations: 12.64 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-06/0.5702, allocations: 0 / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.5703, allocations: 3.906 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.5703, allocations: 4.906 kB / 0.9552 GB, free: 4.441 MB / 0.7169 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 (4): * Single equations (assignments): 4 * 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 5.328e-05/0.5704, allocations: 186.7 kB / 0.9554 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5704, allocations: 11.38 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.5706, allocations: 83.55 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5707, allocations: 1.125 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5707, allocations: 0 / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5707, allocations: 1.188 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.5708, allocations: 193.1 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5708, allocations: 4 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.5709, allocations: 11.73 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5709, allocations: 3.938 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.5709, allocations: 1.312 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5709, allocations: 0 / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5709, allocations: 5.281 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.5711, allocations: 171.4 kB / 0.9558 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.5712, allocations: 87.88 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.5712, allocations: 9.5 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.5713, allocations: 11.08 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.5714, allocations: 1.438 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.5714, allocations: 1.312 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.5715, allocations: 119.1 kB / 0.9561 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5715, allocations: 1.438 kB / 0.9561 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003081/0.5718, allocations: 35.44 kB / 0.9561 GB, free: 3.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000169/0.5719, allocations: 111.8 kB / 0.9562 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.5723, allocations: 69.66 kB / 0.9563 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5723, allocations: 0 / 0.9563 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.5724, allocations: 24.08 kB / 0.9563 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.5728, allocations: 30.36 kB / 0.9563 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.5732, allocations: 264.3 kB / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.5734, allocations: 0.6965 MB / 0.9572 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.5734, allocations: 12 kB / 0.9573 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5734, allocations: 3.938 kB / 0.9573 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of Templates: time 0.002725/0.5761, allocations: 1.32 MB / 0.9586 GB, free: 1.805 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches