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.001473/0.001473, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001488/0.001488, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 68.17 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6948, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002861/0.6978, allocations: 1.842 MB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.6989, allocations: 0.7284 MB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.699, allocations: 2.156 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.6991, allocations: 12.94 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.6993, allocations: 51.03 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.6995, allocations: 69.89 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.6997, allocations: 130.5 kB / 1.086 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.6999, allocations: 47.78 kB / 1.086 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.7, allocations: 43.88 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.7001, allocations: 49.8 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.7002, allocations: 8.219 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.7002, allocations: 19.3 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.7003, allocations: 22.55 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.7003, allocations: 51.38 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.7005, allocations: 116.5 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7005, allocations: 0 / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7005, allocations: 0 / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7005, allocations: 0 / 1.086 GB, free: 15.55 MB / 0.8419 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.0006245/0.7012, allocations: 402.6 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.7012, allocations: 13.62 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.7013, allocations: 17.84 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.7015, allocations: 202.7 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.7015, allocations: 7.688 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.7015, allocations: 6.438 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.7018, allocations: 97.02 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7018, allocations: 0 / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.7018, allocations: 5.031 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7018, allocations: 5.781 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.7021, allocations: 68.2 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.7026, allocations: 374.5 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.7028, allocations: 48.11 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.703, allocations: 29.64 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.703, allocations: 0 / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.703, allocations: 32.84 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.703, allocations: 0 / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003798/0.7034, allocations: 104.8 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7035, allocations: 57.88 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.7036, allocations: 149.8 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.7036, allocations: 30.98 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.7037, allocations: 103.8 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.7037, allocations: 14.64 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.7038, allocations: 18.36 kB / 1.088 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7039, allocations: 320 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.704, allocations: 30.02 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.7041, allocations: 20.69 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.7043, allocations: 51.5 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7043, allocations: 0 / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002255/0.7046, allocations: 81.27 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7046, allocations: 13.16 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7046, allocations: 1.469 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7046, allocations: 0.6094 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.7047, allocations: 11.95 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7047, allocations: 0 / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.7048, allocations: 7.312 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.7048, allocations: 5.219 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000138/0.7049, allocations: 107.7 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.024e-05/0.705, allocations: 24.89 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001671/0.7052, allocations: 49.19 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.7052, allocations: 1.156 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002137/0.7054, allocations: 80.25 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.7055, allocations: 4.719 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.7055, allocations: 0.5625 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.7055, allocations: 5.188 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.7055, allocations: 15 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-06/0.7055, allocations: 1.125 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.7056, allocations: 6.25 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.7056, allocations: 5.516 kB / 1.089 GB, free: 13.45 MB / 0.8419 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 0.0001104/0.7057, allocations: 185.9 kB / 1.089 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.7058, allocations: 17.39 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.7061, allocations: 90.61 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7061, allocations: 1.188 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7061, allocations: 0 / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7061, allocations: 1.953 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.7063, allocations: 191.4 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7063, allocations: 4.594 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.7064, allocations: 10.14 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7064, allocations: 4.5 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7064, allocations: 1.031 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7064, allocations: 0 / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7064, allocations: 5.781 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.7067, allocations: 172.3 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.7068, allocations: 85.72 kB / 1.089 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.7068, allocations: 5.734 kB / 1.089 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.7069, allocations: 7.281 kB / 1.089 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.7069, allocations: 6.328 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.7069, allocations: 5.5 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.468e-05/0.707, allocations: 118.4 kB / 1.089 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.707, allocations: 0 / 1.089 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002961/0.7073, allocations: 33.27 kB / 1.089 GB, free: 12.62 MB / 0.8419 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.0001534/0.7075, allocations: 102.4 kB / 1.09 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7078, allocations: 78.11 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7078, allocations: 0 / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.7079, allocations: 22.31 kB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.7083, allocations: 28.31 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.7088, allocations: 243.1 kB / 1.09 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7091, allocations: 0.6996 MB / 1.091 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.7092, allocations: 15.12 kB / 1.091 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.7092, allocations: 1.031 kB / 1.091 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.003142/0.7123, allocations: 1.317 MB / 1.092 GB, free: 11.5 MB / 0.8419 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=400 -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