Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001274/0.001274, allocations: 193 kB / 16.25 MB, free: 6.637 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.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.462/2.462, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6723, allocations: 140.4 MB / 0.9491 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005565/0.6779, allocations: 5.069 MB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1499/0.8279, allocations: 149.3 MB / 1.1 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008901/0.8288, allocations: 19.94 kB / 1.1 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.8296, allocations: 158.8 kB / 1.1 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.8316, allocations: 0.5101 MB / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.8338, allocations: 0.899 MB / 1.101 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.8358, allocations: 1.781 MB / 1.103 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.8369, allocations: 0.8662 MB / 1.104 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008344/0.8377, allocations: 0.6851 MB / 1.105 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.8385, allocations: 0.7634 MB / 1.105 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.8387, allocations: 172 kB / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.8398, allocations: 0.6324 MB / 1.106 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.8401, allocations: 446.6 kB / 1.107 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006402/0.8408, allocations: 0.7657 MB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.8429, allocations: 2.189 MB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8429, allocations: 0 / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8429, allocations: 0 / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.8429, allocations: 0 / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00347/0.8464, allocations: 1.818 MB / 1.111 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.8465, allocations: 12.03 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1086/0.9551, allocations: 15.38 MB / 1.126 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.9574, allocations: 1.199 MB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.9575, allocations: 98.47 kB / 1.128 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.9579, allocations: 124 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.9915, allocations: 7.677 MB / 1.135 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.9915, allocations: 3.938 kB / 1.135 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.9919, allocations: 52 kB / 1.135 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.9919, allocations: 32 kB / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06453/1.056, allocations: 13.58 MB / 1.149 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03895/1.095, allocations: 9.532 MB / 1.158 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03896/1.134, allocations: 7.907 MB / 1.166 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03335/1.168, allocations: 6.187 MB / 1.172 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/1.168, allocations: 0.6101 MB / 1.172 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03351/1.202, allocations: 6.745 MB / 1.179 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=113): time 4.147e-06/1.202, allocations: 0 / 1.179 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=113): time 0.09503/1.297, allocations: 18.17 MB / 1.197 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.297, allocations: 196.9 kB / 1.197 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.298, allocations: 0.7627 MB / 1.197 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/1.299, allocations: 49.7 kB / 1.198 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/1.299, allocations: 0.4926 MB / 1.198 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/1.3, allocations: 362.7 kB / 1.198 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.301, allocations: 378.4 kB / 1.199 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.301, allocations: 353.9 kB / 1.199 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03138/1.332, allocations: 6.306 MB / 1.205 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03246/1.365, allocations: 6.46 MB / 1.211 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05829/1.423, allocations: 10.91 MB / 1.222 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.423, allocations: 3.938 kB / 1.222 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0638/1.487, allocations: 12.26 MB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/1.487, allocations: 8 kB / 1.234 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.487, allocations: 0 / 1.234 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/1.488, allocations: 80.84 kB / 1.234 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01809/1.506, allocations: 2.679 MB / 1.237 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.508, allocations: 1.634 MB / 1.238 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01821/1.526, allocations: 2.456 MB / 1.241 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/1.527, allocations: 107.8 kB / 1.241 GB, free: 5.758 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,ove.solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.528, allocations: 323.7 kB / 1.241 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/1.528, allocations: 98.78 kB / 1.241 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5109/2.039, allocations: 12.73 MB / 1.254 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/2.039, allocations: 13.16 kB / 1.254 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.039, allocations: 0 / 1.254 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/2.039, allocations: 8.406 kB / 1.254 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/2.042, allocations: 1.846 MB / 1.256 GB, free: 286.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/2.042, allocations: 4.625 kB / 1.256 GB, free: 286.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01816/2.06, allocations: 2.654 MB / 1.258 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/2.06, allocations: 74.88 kB / 1.258 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005937/2.061, allocations: 94.56 kB / 1.258 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/2.063, allocations: 1.661 MB / 1.26 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.063, allocations: 3.906 kB / 1.26 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06078/2.123, allocations: 12.09 MB / 1.272 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/2.125, allocations: 0.6637 MB / 1.272 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/2.125, allocations: 24.06 kB / 1.272 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01639/2.142, allocations: 2.406 MB / 1.275 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/2.142, allocations: 95.02 kB / 1.275 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004313/2.142, allocations: 113 kB / 1.275 GB, free: 276 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000691/2.143, allocations: 0.5386 MB / 1.276 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/2.143, allocations: 0 / 1.276 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002456/2.145, allocations: 0.7054 MB / 1.276 GB, free: 275.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/2.147, allocations: 0.653 MB / 1.277 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06011/2.207, allocations: 13.29 MB / 1.29 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.207, allocations: 7.938 kB / 1.29 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02871/2.236, allocations: 6.499 MB / 1.296 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/2.238, allocations: 320 kB / 1.296 GB, free: 257.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/2.27, allocations: 8.665 MB / 1.305 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/2.27, allocations: 1.163 MB / 1.306 GB, free: 247.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003725/2.274, allocations: 0.7193 MB / 1.307 GB, free: 247 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.276, allocations: 255 kB / 1.307 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/2.276, allocations: 0 / 1.307 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04103/2.317, allocations: 37.85 MB / 1.344 GB, free: 209 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches