Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001158/0.001158, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.00179/0.00179, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 11.94 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7196, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002401/0.722, allocations: 2.026 MB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.7235, allocations: 0.8849 MB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.7237, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.7237, allocations: 23.78 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.7241, allocations: 115.2 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.7244, allocations: 139.8 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.7248, allocations: 326.2 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.725, allocations: 89.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.7251, allocations: 103.5 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.7253, allocations: 119.5 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.7254, allocations: 12 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.7255, allocations: 35.98 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.7255, allocations: 43.77 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.7256, allocations: 77.58 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.7258, allocations: 205.4 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7258, allocations: 3.938 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7258, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7259, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 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.0006841/0.7265, allocations: 0.5353 MB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.7266, allocations: 12.52 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.7266, allocations: 31.62 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.7269, allocations: 249.6 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.7269, allocations: 12.44 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.727, allocations: 20 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.7273, allocations: 187.2 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7274, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.7274, allocations: 12 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7274, allocations: 4 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.7277, allocations: 141.6 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.7287, allocations: 0.8119 MB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.7291, allocations: 138.4 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.7292, allocations: 72.81 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.7293, allocations: 8.062 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.7293, allocations: 34.56 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.7293, allocations: 0 / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005004/0.7298, allocations: 189.3 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7299, allocations: 55.36 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.7301, allocations: 242.6 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.7302, allocations: 25.7 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.7303, allocations: 152.3 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7303, allocations: 47.3 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/0.7303, allocations: 4 kB / 1.029 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7304, allocations: 334.8 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.7306, allocations: 35.98 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.7307, allocations: 43.97 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.7308, allocations: 43.98 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7308, allocations: 0 / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002862/0.7311, allocations: 145 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.7312, allocations: 99.22 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.7312, allocations: 3.953 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7312, allocations: 4 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.7313, allocations: 31.91 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.7314, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.7315, allocations: 19.84 kB / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7315, allocations: 4 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.7315, allocations: 8 kB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002487/0.7318, allocations: 99.94 kB / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.7318, allocations: 3.938 kB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/0.7318, allocations: 4 kB / 1.03 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.7319, allocations: 35.92 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.7319, allocations: 0 / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.732, allocations: 19.89 kB / 1.03 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.732, allocations: 0 / 1.03 GB, free: 7.723 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.7322, allocations: 205.1 kB / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.7322, allocations: 23.72 kB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.7326, allocations: 171.5 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7326, allocations: 3.938 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7326, allocations: 4 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.7326, allocations: 0 / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.7329, allocations: 273.4 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7329, allocations: 0 / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.733, allocations: 31.98 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.733, allocations: 4 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.7331, allocations: 0 / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.7331, allocations: 0 / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7331, allocations: 0 / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.7334, allocations: 259.1 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.7335, allocations: 112.8 kB / 1.031 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.7335, allocations: 0 / 1.031 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7337, allocations: 19.98 kB / 1.031 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.7337, allocations: 7.984 kB / 1.031 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.7338, allocations: 4 kB / 1.031 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001495/0.7339, allocations: 174 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7339, allocations: 0 / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004034/0.7343, allocations: 99.62 kB / 1.032 GB, free: 6.262 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.7345, allocations: 111.2 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.7349, allocations: 163.6 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7349, allocations: 0 / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.7351, allocations: 59.91 kB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.7356, allocations: 58.05 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.7364, allocations: 485.3 kB / 1.032 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.7367, allocations: 0.7482 MB / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.169e-05/0.7368, allocations: 29.5 kB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.7369, allocations: 15.44 kB / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of SimCode: time 1.493e-06/0.7369, allocations: 0 / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.005705/0.7426, allocations: 2.383 MB / 1.036 GB, free: 2.195 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches