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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001658/0.001658, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001782/0.001783, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.27 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2957, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007443/0.3032, allocations: 5.076 MB / 0.9561 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7538/1.057, allocations: 151.5 MB / 1.104 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/1.058, allocations: 17.38 kB / 1.104 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/1.059, allocations: 197.3 kB / 1.104 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/1.061, allocations: 0.584 MB / 1.105 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/1.064, allocations: 0.9989 MB / 1.106 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002634/1.066, allocations: 1.784 MB / 1.108 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/1.068, allocations: 0.8696 MB / 1.108 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/1.069, allocations: 0.6752 MB / 1.109 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/1.07, allocations: 0.7582 MB / 1.11 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003196/1.07, allocations: 171.8 kB / 1.11 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/1.072, allocations: 0.667 MB / 1.111 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/1.073, allocations: 440.2 kB / 1.111 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009372/1.073, allocations: 0.7667 MB / 1.112 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003671/1.077, allocations: 2.231 MB / 1.114 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.077, allocations: 0 / 1.114 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/1.077, allocations: 0 / 1.114 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.993e-05/1.077, allocations: 5.406 kB / 1.114 GB, free: 3.906 MB / 0.8575 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.003888/1.081, allocations: 1.817 MB / 1.116 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.081, allocations: 8.719 kB / 1.116 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0963/1.177, allocations: 15.37 MB / 1.131 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/1.181, allocations: 1.226 MB / 1.132 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.181, allocations: 96.5 kB / 1.132 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000739/1.182, allocations: 125.3 kB / 1.132 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03305/1.215, allocations: 7.675 MB / 1.14 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/1.215, allocations: 1.156 kB / 1.14 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/1.216, allocations: 49.72 kB / 1.14 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/1.216, allocations: 29.53 kB / 1.14 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05889/1.275, allocations: 13.58 MB / 1.153 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/1.312, allocations: 9.489 MB / 1.162 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03412/1.346, allocations: 7.908 MB / 1.17 GB, free: 500 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02863/1.375, allocations: 6.198 MB / 1.176 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/1.376, allocations: 0.5972 MB / 1.177 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02974/1.405, allocations: 6.751 MB / 1.183 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=113): time 3.817e-06/1.405, allocations: 0 / 1.183 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=113): time 0.08908/1.495, allocations: 18.17 MB / 1.201 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.495, allocations: 204.8 kB / 1.201 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.496, allocations: 0.7588 MB / 1.202 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006444/1.497, allocations: 53.69 kB / 1.202 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/1.497, allocations: 0.4887 MB / 1.202 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/1.498, allocations: 366 kB / 1.203 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/1.499, allocations: 374.4 kB / 1.203 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.499, allocations: 349.9 kB / 1.203 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02935/1.528, allocations: 6.316 MB / 1.21 GB, free: 12.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02972/1.558, allocations: 6.449 MB / 1.216 GB, free: 6.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05404/1.612, allocations: 10.92 MB / 1.227 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.612, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.05961/1.672, allocations: 12.26 MB / 1.239 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.672, allocations: 8 kB / 1.239 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.672, allocations: 0 / 1.239 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/1.672, allocations: 84.83 kB / 1.239 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01737/1.69, allocations: 2.679 MB / 1.241 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.692, allocations: 1.625 MB / 1.243 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01668/1.709, allocations: 2.468 MB / 1.245 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/1.709, allocations: 106.4 kB / 1.245 GB, free: 7.832 MB / 0.9512 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.001085/1.711, allocations: 323.8 kB / 1.246 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/1.711, allocations: 98.78 kB / 1.246 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06021/1.771, allocations: 12.72 MB / 1.258 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.771, allocations: 19.94 kB / 1.258 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.771, allocations: 0 / 1.258 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.771, allocations: 3.984 kB / 1.258 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/1.774, allocations: 1.858 MB / 1.26 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.774, allocations: 0 / 1.26 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01632/1.79, allocations: 2.656 MB / 1.263 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/1.791, allocations: 76.73 kB / 1.263 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005457/1.791, allocations: 91.8 kB / 1.263 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/1.793, allocations: 1.653 MB / 1.264 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.793, allocations: 0 / 1.264 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05823/1.851, allocations: 12.09 MB / 1.276 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/1.854, allocations: 0.6629 MB / 1.277 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000547/1.854, allocations: 39.77 kB / 1.277 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01544/1.87, allocations: 2.398 MB / 1.279 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.87, allocations: 97.17 kB / 1.279 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004939/1.87, allocations: 107.8 kB / 1.279 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000776/1.871, allocations: 0.542 MB / 1.28 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/1.871, allocations: 4 kB / 1.28 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00219/1.873, allocations: 0.6943 MB / 1.281 GB, free: 3.445 MB / 0.9825 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.001707/1.875, allocations: 0.6606 MB / 1.281 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.06039/1.935, allocations: 12.9 MB / 1.294 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.935, allocations: 0 / 1.294 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03041/1.966, allocations: 6.509 MB / 1.3 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.968, allocations: 319 kB / 1.301 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03416/2.002, allocations: 8.06 MB / 1.308 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/2.003, allocations: 1.15 MB / 1.31 GB, free: 5.965 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003524/2.006, allocations: 0.7388 MB / 1.31 GB, free: 5.223 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/2.008, allocations: 251 kB / 1.311 GB, free: 4.98 MB / 1.014 GB Notification: Performance of SimCode: time 1.934e-06/2.008, allocations: 0 / 1.311 GB, free: 4.98 MB / 1.014 GB Notification: Performance of Templates: time 0.0602/2.068, allocations: 38.05 MB / 1.348 GB, free: 15.05 MB / 1.061 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 -s cvode -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/jenkins1/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