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.001959/0.001959, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.002132/0.002132, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.367/1.367, allocations: 222.9 MB / 241 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.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8295, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003109/0.8326, allocations: 2.415 MB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.8341, allocations: 0.9378 MB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.8342, allocations: 4.375 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.477e-05/0.8343, allocations: 37.08 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.8347, allocations: 126 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.8351, allocations: 172.5 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.8356, allocations: 358.3 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.8358, allocations: 117.1 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.836, allocations: 144.4 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.8362, allocations: 137.1 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.8363, allocations: 19.75 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.8364, allocations: 45.12 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.8365, allocations: 54.5 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.8366, allocations: 138.6 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.837, allocations: 292 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.837, allocations: 4 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.837, allocations: 0.8125 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.837, allocations: 0 / 1.093 GB, free: 2.355 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.0007151/0.8377, allocations: 0.5607 MB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8378, allocations: 9.031 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.8378, allocations: 33.11 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.8381, allocations: 272.3 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.8382, allocations: 16.19 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.8382, allocations: 17.06 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.8386, allocations: 183.4 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8386, allocations: 0 / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.8387, allocations: 10.38 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.8387, allocations: 5.594 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.839, allocations: 137.4 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.8399, allocations: 0.8014 MB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.8402, allocations: 127.4 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.8404, allocations: 63.89 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.8404, allocations: 3.078 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.8405, allocations: 32.09 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.8405, allocations: 0 / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004978/0.841, allocations: 183.2 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.841, allocations: 56.41 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.8412, allocations: 233.6 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.8413, allocations: 35.11 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.8413, allocations: 155.1 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.8414, allocations: 43.25 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.8414, allocations: 29.36 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8415, allocations: 333.4 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.8417, allocations: 44.36 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.8418, allocations: 36.27 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.8421, allocations: 96.44 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.8421, allocations: 2 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003238/0.8424, allocations: 138.5 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.8424, allocations: 13.77 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8425, allocations: 0 / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8425, allocations: 1.719 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.8426, allocations: 31.92 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8426, allocations: 1.641 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.8427, allocations: 16.41 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.8428, allocations: 6.562 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001745/0.8429, allocations: 130.5 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001142/0.8431, allocations: 38.47 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002329/0.8433, allocations: 90.75 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.8433, allocations: 0 / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003163/0.8436, allocations: 139.8 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.8436, allocations: 5.828 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.8437, allocations: 0.9688 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.8437, allocations: 4.656 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.8438, allocations: 27.42 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.8438, allocations: 1.328 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.8439, allocations: 7.047 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.8439, allocations: 7.25 kB / 1.097 GB, free: 15.43 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 8.717e-05/0.844, allocations: 178.2 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.8441, allocations: 34.97 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.8444, allocations: 152.1 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.8444, allocations: 2.266 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8445, allocations: 0.75 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8445, allocations: 0.7969 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.8448, allocations: 277.6 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.8448, allocations: 1.062 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.8449, allocations: 27.97 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.8449, allocations: 4.547 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.845, allocations: 5.156 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.845, allocations: 1.156 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.845, allocations: 4.656 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.8453, allocations: 236.5 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.8454, allocations: 106.7 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.8455, allocations: 5.25 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.8456, allocations: 14.42 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.8457, allocations: 11.36 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.8457, allocations: 2.188 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001655/0.8458, allocations: 175.4 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8458, allocations: 0.9375 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000411/0.8463, allocations: 99.02 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.0001582/0.8464, allocations: 110.8 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.8469, allocations: 154.1 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8469, allocations: 0 / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.847, allocations: 55.12 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.8475, allocations: 60.98 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.8482, allocations: 422.9 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.8485, allocations: 0.7475 MB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.8486, allocations: 19.7 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.8486, allocations: 0 / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.006327/0.8549, allocations: 2.699 MB / 1.103 GB, free: 13 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