Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior") translateModel(Buildings.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007153/0.007153, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.001498/0.001498, allocations: 192 kB / 16.67 MB, free: 5.926 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9728/0.9748, allocations: 159.9 MB / 1.226 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003757/0.9786, allocations: 2.429 MB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.9804, allocations: 0.9282 MB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.9805, allocations: 15.94 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.138e-05/0.9806, allocations: 31.59 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.981, allocations: 130 kB / 1.229 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.9814, allocations: 175.6 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.9818, allocations: 354.3 kB / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.982, allocations: 111.9 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.9822, allocations: 123.5 kB / 1.23 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.9824, allocations: 143.4 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.9825, allocations: 20 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.9826, allocations: 43.92 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.9827, allocations: 55.77 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.9828, allocations: 139.3 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.9831, allocations: 291.3 kB / 1.23 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9832, allocations: 4 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9832, allocations: 0 / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.9832, allocations: 0 / 1.23 GB, free: 8.602 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007421/0.9839, allocations: 0.5802 MB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.984, allocations: 8.031 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.984, allocations: 36.75 kB / 1.231 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.9844, allocations: 270.8 kB / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.9844, allocations: 12.81 kB / 1.231 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.9844, allocations: 24.38 kB / 1.231 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.9848, allocations: 179.6 kB / 1.231 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9848, allocations: 3.984 kB / 1.231 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.9848, allocations: 8 kB / 1.231 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.9848, allocations: 7.938 kB / 1.231 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.9851, allocations: 141.6 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/0.986, allocations: 0.8005 MB / 1.232 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.9863, allocations: 126.5 kB / 1.233 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.9865, allocations: 60.81 kB / 1.233 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.9865, allocations: 4 kB / 1.233 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.9865, allocations: 34.56 kB / 1.233 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.9865, allocations: 0 / 1.233 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0004326/0.987, allocations: 181.4 kB / 1.233 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.987, allocations: 55.34 kB / 1.233 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.9872, allocations: 242.6 kB / 1.233 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.9873, allocations: 25.7 kB / 1.233 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.9873, allocations: 152.4 kB / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.9874, allocations: 47.58 kB / 1.233 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.9874, allocations: 33.66 kB / 1.233 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9876, allocations: 334.8 kB / 1.234 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.9877, allocations: 40.83 kB / 1.234 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.9878, allocations: 39.47 kB / 1.234 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.988, allocations: 92.81 kB / 1.234 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.988, allocations: 0 / 1.234 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002942/0.9883, allocations: 141.5 kB / 1.234 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9883, allocations: 11.94 kB / 1.234 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9884, allocations: 0 / 1.234 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9884, allocations: 3.984 kB / 1.234 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.9885, allocations: 23.98 kB / 1.234 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.9885, allocations: 0 / 1.234 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.9886, allocations: 7.953 kB / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.9886, allocations: 7.984 kB / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001657/0.9888, allocations: 137 kB / 1.234 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.416e-05/0.9889, allocations: 35.97 kB / 1.234 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001994/0.9891, allocations: 91.94 kB / 1.234 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.9891, allocations: 112 / 1.234 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002584/0.9894, allocations: 137.4 kB / 1.234 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.9894, allocations: 4 kB / 1.234 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.9894, allocations: 4 kB / 1.234 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.9894, allocations: 7.938 kB / 1.234 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.9895, allocations: 27.92 kB / 1.234 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.9895, allocations: 7.984 kB / 1.234 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.9896, allocations: 11.89 kB / 1.234 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.9896, allocations: 0 / 1.234 GB, free: 4.176 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 (13): * Single equations (assignments): 13 * 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.568e-05/0.9897, allocations: 188.7 kB / 1.235 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.9898, allocations: 27.8 kB / 1.235 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.9901, allocations: 155.5 kB / 1.235 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9901, allocations: 4 kB / 1.235 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9901, allocations: 0 / 1.235 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9901, allocations: 0 / 1.235 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.9904, allocations: 269.5 kB / 1.235 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9904, allocations: 4 kB / 1.235 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.9905, allocations: 31.92 kB / 1.235 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9906, allocations: 3.938 kB / 1.235 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.9906, allocations: 8 kB / 1.235 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9906, allocations: 0 / 1.235 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9906, allocations: 3.984 kB / 1.235 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.9909, allocations: 234.7 kB / 1.235 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.991, allocations: 109 kB / 1.235 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.991, allocations: 3.938 kB / 1.235 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.9912, allocations: 11.98 kB / 1.235 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.9912, allocations: 11.98 kB / 1.235 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.9912, allocations: 7.984 kB / 1.235 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001426/0.9914, allocations: 170 kB / 1.236 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9914, allocations: 3.938 kB / 1.236 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000384/0.9918, allocations: 103.7 kB / 1.236 GB, free: 2.75 MB / 0.9512 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 (13): * Single equations (assignments): 13 * 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.0001727/0.9919, allocations: 103.2 kB / 1.236 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.9924, allocations: 151.8 kB / 1.236 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9924, allocations: 0 / 1.236 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.9925, allocations: 59.84 kB / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.993, allocations: 56.83 kB / 1.236 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.9936, allocations: 399.7 kB / 1.236 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.9939, allocations: 0.7557 MB / 1.237 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.994, allocations: 21.53 kB / 1.237 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.9941, allocations: 19.44 kB / 1.237 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9941, allocations: 3.938 kB / 1.237 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of Templates: time 0.006727/1.001, allocations: 2.622 MB / 1.24 GB, free: 14.55 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches