Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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.001433/0.001433, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001472/0.001471, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.422/1.422, 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 12.0.0-master/package.mo): time 2.774/2.774, allocations: 474.5 MB / 0.7477 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 59.91 kB / 1.073 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7537, allocations: 160.3 MB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003356/0.7571, allocations: 1.836 MB / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.7585, allocations: 0.7361 MB / 1.232 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.7586, allocations: 3.938 kB / 1.232 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.7586, allocations: 15.86 kB / 1.232 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.7589, allocations: 51.62 kB / 1.232 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.7591, allocations: 71.84 kB / 1.232 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.7594, allocations: 135.4 kB / 1.232 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.7595, allocations: 49.3 kB / 1.232 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.7596, allocations: 47.8 kB / 1.232 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.7598, allocations: 51.78 kB / 1.232 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.7598, allocations: 8 kB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.7599, allocations: 19.98 kB / 1.232 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.7599, allocations: 23.91 kB / 1.232 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.7601, allocations: 47.73 kB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.7603, allocations: 112.1 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.7603, allocations: 0 / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7603, allocations: 0 / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.7603, allocations: 0 / 1.232 GB, free: 7.73 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006652/0.761, allocations: 415 kB / 1.233 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.761, allocations: 8.031 kB / 1.233 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.7611, allocations: 16.84 kB / 1.233 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.7613, allocations: 198.4 kB / 1.233 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.7614, allocations: 4.375 kB / 1.233 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.7614, allocations: 8.375 kB / 1.233 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.7616, allocations: 99.98 kB / 1.233 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7616, allocations: 4 kB / 1.233 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7617, allocations: 0 / 1.233 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.7617, allocations: 4 kB / 1.233 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.7619, allocations: 63.89 kB / 1.233 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.7624, allocations: 376.5 kB / 1.233 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.7627, allocations: 54.55 kB / 1.233 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.7628, allocations: 20.91 kB / 1.233 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.7628, allocations: 4 kB / 1.234 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.7628, allocations: 30.56 kB / 1.234 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.7628, allocations: 0 / 1.234 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003691/0.7632, allocations: 113.4 kB / 1.234 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.7633, allocations: 59.34 kB / 1.234 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.7635, allocations: 148.9 kB / 1.234 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.7635, allocations: 25.7 kB / 1.234 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.7636, allocations: 104.1 kB / 1.234 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.7636, allocations: 15.83 kB / 1.234 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.7636, allocations: 17.72 kB / 1.234 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7638, allocations: 322.8 kB / 1.234 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.7639, allocations: 32.83 kB / 1.234 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.051e-05/0.764, allocations: 19.98 kB / 1.234 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.7642, allocations: 45.09 kB / 1.234 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7642, allocations: 0 / 1.234 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000227/0.7644, allocations: 93.53 kB / 1.234 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7644, allocations: 11.94 kB / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7644, allocations: 0 / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.7645, allocations: 0 / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.7645, allocations: 11.98 kB / 1.235 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7645, allocations: 0 / 1.235 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.7646, allocations: 7.984 kB / 1.235 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.7646, allocations: 7.984 kB / 1.235 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001506/0.7648, allocations: 108.1 kB / 1.235 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.694e-05/0.7649, allocations: 23.97 kB / 1.235 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001491/0.765, allocations: 40.83 kB / 1.235 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.765, allocations: 4 kB / 1.235 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002051/0.7653, allocations: 81.55 kB / 1.235 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.7653, allocations: 8 kB / 1.235 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.7653, allocations: 4 kB / 1.235 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.7653, allocations: 3.938 kB / 1.235 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.7654, allocations: 11.98 kB / 1.235 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-06/0.7654, allocations: 0 / 1.235 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.7654, allocations: 11.94 kB / 1.235 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.7654, allocations: 0 / 1.235 GB, free: 4.906 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 (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 9.778e-05/0.7655, allocations: 187.5 kB / 1.235 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.7656, allocations: 15.89 kB / 1.235 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.7658, allocations: 85.83 kB / 1.235 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7658, allocations: 0 / 1.235 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.7659, allocations: 7.938 kB / 1.235 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.7659, allocations: 0 / 1.235 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.7661, allocations: 189.6 kB / 1.235 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7661, allocations: 0 / 1.235 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.7662, allocations: 15.98 kB / 1.235 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7662, allocations: 3.938 kB / 1.235 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.7662, allocations: 4 kB / 1.235 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7662, allocations: 3.938 kB / 1.235 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7662, allocations: 0 / 1.235 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.7664, allocations: 171.4 kB / 1.235 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7666, allocations: 89.05 kB / 1.236 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.7666, allocations: 7.938 kB / 1.236 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.7667, allocations: 8 kB / 1.236 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.7668, allocations: 11.98 kB / 1.236 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.7668, allocations: 0 / 1.236 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.564e-05/0.7669, allocations: 116.5 kB / 1.236 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7669, allocations: 0 / 1.236 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002982/0.7672, allocations: 31.95 kB / 1.236 GB, free: 3.875 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 (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.0001648/0.7673, allocations: 107.5 kB / 1.236 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.7677, allocations: 79.86 kB / 1.236 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7677, allocations: 0 / 1.236 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.7678, allocations: 23.97 kB / 1.236 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.7681, allocations: 19.98 kB / 1.236 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.7685, allocations: 225.1 kB / 1.236 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.7689, allocations: 0.6963 MB / 1.237 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.7689, allocations: 12.42 kB / 1.237 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.769, allocations: 15.44 kB / 1.237 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.769, allocations: 0 / 1.237 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.004227/0.7732, allocations: 1.345 MB / 1.238 GB, free: 1.32 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches