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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008218/0.008218, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001717/0.001717, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7703, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002937/0.7732, allocations: 1.837 MB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.7744, allocations: 0.7362 MB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.7745, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.707e-05/0.7745, allocations: 11.86 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.7747, allocations: 51.64 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.775, allocations: 71.78 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.7752, allocations: 127.4 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.7753, allocations: 49.33 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.7754, allocations: 55.83 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.7755, allocations: 51.78 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.7756, allocations: 8 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.7756, allocations: 12 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.7756, allocations: 27.91 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.7757, allocations: 47.73 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.7759, allocations: 117.4 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7759, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7759, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.7759, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 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.0005306/0.7764, allocations: 411.1 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.7765, allocations: 8.031 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.7765, allocations: 16.75 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.7767, allocations: 192.1 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.7767, allocations: 12.38 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.7768, allocations: 12.31 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.777, allocations: 92.16 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.777, allocations: 4 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.777, allocations: 4 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.777, allocations: 4 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.7773, allocations: 59.94 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.7777, allocations: 368.4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.7779, allocations: 66.47 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.7781, allocations: 20.91 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.7781, allocations: 7.984 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.7781, allocations: 30.56 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7781, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003551/0.7785, allocations: 97.64 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.7785, allocations: 55.41 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.7786, allocations: 164.4 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.7787, allocations: 25.7 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.7787, allocations: 100 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.7787, allocations: 19.69 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.7788, allocations: 13.72 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7789, allocations: 330.8 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.779, allocations: 24.84 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.7791, allocations: 23.97 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7793, allocations: 40.83 kB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7793, allocations: 0 / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002222/0.7795, allocations: 89.55 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7795, allocations: 11.94 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7795, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.7796, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.7796, allocations: 19.92 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7796, allocations: 0 / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.7797, allocations: 4 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.7797, allocations: 4 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001258/0.7799, allocations: 113.6 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.598e-05/0.78, allocations: 15.98 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000152/0.7801, allocations: 44.81 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.7801, allocations: 4 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002123/0.7803, allocations: 77.56 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.7804, allocations: 8 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.7804, allocations: 7.984 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.7804, allocations: 3.938 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.7804, allocations: 15.92 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-06/0.7804, allocations: 0 / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.7805, allocations: 8 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-06/0.7805, allocations: 0 / 1.213 GB, free: 7.742 MB / 0.9356 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 7.665e-05/0.7806, allocations: 180.3 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.7807, allocations: 15.83 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.7809, allocations: 86.28 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7809, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7809, allocations: 4 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7809, allocations: 8.016 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.7811, allocations: 181.6 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7811, allocations: 4 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.7812, allocations: 15.92 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7812, allocations: 7.875 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.7812, allocations: 4 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7812, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7812, allocations: 3.938 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.7815, allocations: 167.4 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.7815, allocations: 93 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.7815, allocations: 3.938 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.7816, allocations: 11.98 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.7817, allocations: 4 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.7817, allocations: 0 / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.712e-05/0.7818, allocations: 116.9 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7818, allocations: 0 / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002976/0.7821, allocations: 35.94 kB / 1.214 GB, free: 6.711 MB / 0.9356 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.0001311/0.7822, allocations: 111.2 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.7825, allocations: 71.94 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7825, allocations: 0 / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.7826, allocations: 19.98 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.783, allocations: 29.89 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.7833, allocations: 217.3 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.7836, allocations: 0.6963 MB / 1.215 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.7836, allocations: 8.438 kB / 1.215 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.7836, allocations: 11.44 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.7836, allocations: 4 kB / 1.215 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of Templates: time 0.003585/0.7872, allocations: 1.37 MB / 1.217 GB, free: 4.145 MB / 0.9356 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 -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/jenkins/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