Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001674/0.001674, allocations: 106.4 kB / 16.41 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.001786/0.001786, allocations: 185.4 kB / 17.34 MB, free: 5.629 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.2 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.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8342, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003254/0.8375, allocations: 2.413 MB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.8389, allocations: 0.9315 MB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.8391, allocations: 4.062 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.8392, allocations: 36.95 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.8396, allocations: 142.3 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.84, allocations: 168.5 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.8405, allocations: 355.3 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.8407, allocations: 125.3 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.8409, allocations: 141.4 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.8411, allocations: 136.9 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.8412, allocations: 19.22 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.8413, allocations: 45.19 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.8413, allocations: 54.8 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.8415, allocations: 138.2 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.8418, allocations: 287.4 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8418, allocations: 4.719 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8418, allocations: 0.7969 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8419, allocations: 4.844 kB / 1.093 GB, free: 2.363 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007092/0.8426, allocations: 0.5599 MB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8426, allocations: 9.094 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.8427, allocations: 32.28 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.843, allocations: 269 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.843, allocations: 21 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.843, allocations: 17.34 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.8434, allocations: 182.8 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8434, allocations: 0 / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.8435, allocations: 6.281 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.8435, allocations: 8.875 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.8438, allocations: 129.7 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.8447, allocations: 0.8095 MB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.8451, allocations: 120.7 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.8452, allocations: 61.34 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.8453, allocations: 5.938 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.8453, allocations: 36.08 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.8453, allocations: 1.031 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004954/0.8458, allocations: 183.5 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.8458, allocations: 54.33 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.8461, allocations: 237.3 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.8461, allocations: 26.92 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.8462, allocations: 154.6 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.8462, allocations: 48.67 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.8463, allocations: 28.03 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8464, allocations: 329.6 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.8466, allocations: 39.92 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.8467, allocations: 44.52 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.8469, allocations: 93.86 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.847, allocations: 5.203 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000326/0.8473, allocations: 139.2 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.8473, allocations: 8.719 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.8473, allocations: 1.312 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8473, allocations: 5.062 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.8475, allocations: 28.03 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8475, allocations: 1.547 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.8476, allocations: 16.03 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8476, allocations: 6.469 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001802/0.8478, allocations: 130.8 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001052/0.8479, allocations: 37.94 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002143/0.8481, allocations: 90.75 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.8482, allocations: 1.531 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003205/0.8485, allocations: 134.7 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.8485, allocations: 6.375 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.8485, allocations: 0 / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.8485, allocations: 9.156 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.8486, allocations: 23.33 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.8487, allocations: 9.75 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.8487, allocations: 6.5 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.8488, allocations: 3.172 kB / 1.097 GB, free: 15.44 MB / 0.8731 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 0.0001392/0.8489, allocations: 182.5 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.849, allocations: 26.89 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.8493, allocations: 162.6 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.8494, allocations: 7.094 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8494, allocations: 0 / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8494, allocations: 0.6562 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.8497, allocations: 274 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8497, allocations: 0 / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.8498, allocations: 32.19 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.8498, allocations: 5.234 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8498, allocations: 1.844 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8499, allocations: 0 / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8499, allocations: 1.672 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.8502, allocations: 239.2 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.8503, allocations: 107.2 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.8503, allocations: 5.859 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.8505, allocations: 13.05 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.8505, allocations: 8.328 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.8505, allocations: 3.016 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001649/0.8507, allocations: 179.2 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8507, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003941/0.8511, allocations: 102.6 kB / 1.099 GB, free: 14.47 MB / 0.8731 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.0001526/0.8513, allocations: 108.2 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.8517, allocations: 149.7 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8517, allocations: 4 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.8518, allocations: 51.72 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.8523, allocations: 49.92 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.853, allocations: 429.1 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.8533, allocations: 0.7433 MB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.8533, allocations: 23.53 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.8533, allocations: 0 / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.005863/0.8592, allocations: 2.704 MB / 1.103 GB, free: 13.02 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches