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.001461/0.001461, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 199 kB / 16.79 MB, free: 6.809 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.616/1.616, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.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.48/2.48, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 71.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5987/0.6002, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.00531/0.6055, allocations: 5.076 MB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.7729, allocations: 149.2 MB / 1.1 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.774, allocations: 15.94 kB / 1.1 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007679/0.7748, allocations: 154.7 kB / 1.1 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.7769, allocations: 0.5011 MB / 1.101 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.7793, allocations: 0.8721 MB / 1.102 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.7816, allocations: 1.703 MB / 1.103 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.7828, allocations: 0.844 MB / 1.104 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7839, allocations: 0.5915 MB / 1.105 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.7851, allocations: 0.7078 MB / 1.106 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003701/0.7855, allocations: 92 kB / 1.106 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.7869, allocations: 0.5659 MB / 1.106 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005227/0.7874, allocations: 358.7 kB / 1.107 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.7884, allocations: 0.6915 MB / 1.107 GB, free: 292 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.7905, allocations: 1.649 MB / 1.109 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.7905, allocations: 0 / 1.109 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7906, allocations: 0 / 1.109 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.429e-05/0.7906, allocations: 0 / 1.109 GB, free: 14.63 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.004262/0.7949, allocations: 1.821 MB / 1.111 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.7949, allocations: 12.03 kB / 1.111 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1102/0.9051, allocations: 15.37 MB / 1.126 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.9077, allocations: 1.199 MB / 1.127 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.9079, allocations: 94.47 kB / 1.127 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007073/0.9086, allocations: 128 kB / 1.127 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0346/0.9432, allocations: 7.677 MB / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.9433, allocations: 0 / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005356/0.9438, allocations: 48 kB / 1.135 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.9439, allocations: 32 kB / 1.135 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06564/1.01, allocations: 13.58 MB / 1.148 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/1.05, allocations: 9.532 MB / 1.157 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03768/1.087, allocations: 7.898 MB / 1.165 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03069/1.118, allocations: 6.191 MB / 1.171 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006743/1.119, allocations: 0.6062 MB / 1.171 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03257/1.151, allocations: 6.745 MB / 1.178 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=113): time 4.037e-06/1.151, allocations: 4 kB / 1.178 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=113): time 0.09554/1.247, allocations: 18.17 MB / 1.196 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.247, allocations: 196.9 kB / 1.196 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.248, allocations: 0.7666 MB / 1.197 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005257/1.249, allocations: 49.7 kB / 1.197 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/1.249, allocations: 0.4887 MB / 1.197 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000731/1.25, allocations: 366.7 kB / 1.198 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.251, allocations: 374.4 kB / 1.198 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.252, allocations: 353.9 kB / 1.198 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03228/1.284, allocations: 6.314 MB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03192/1.316, allocations: 6.457 MB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0582/1.374, allocations: 10.91 MB / 1.221 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.374, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06313/1.437, allocations: 12.26 MB / 1.233 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.437, allocations: 12.06 kB / 1.233 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.437, allocations: 0 / 1.233 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/1.438, allocations: 84.77 kB / 1.234 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/1.456, allocations: 2.671 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/1.458, allocations: 1.525 MB / 1.238 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01742/1.476, allocations: 2.456 MB / 1.24 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006685/1.476, allocations: 107.8 kB / 1.24 GB, free: 7.285 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.00143/1.478, allocations: 319.8 kB / 1.24 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007784/1.479, allocations: 102.8 kB / 1.241 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.511/1.99, allocations: 12.72 MB / 1.253 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/1.99, allocations: 16.53 kB / 1.253 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.99, allocations: 4.406 kB / 1.253 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/1.99, allocations: 7.734 kB / 1.253 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/1.993, allocations: 1.848 MB / 1.255 GB, free: 286.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.993, allocations: 0.8125 kB / 1.255 GB, free: 286.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01893/2.011, allocations: 2.649 MB / 1.257 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006518/2.012, allocations: 85.56 kB / 1.257 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007774/2.013, allocations: 101.4 kB / 1.258 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/2.015, allocations: 1.539 MB / 1.259 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/2.015, allocations: 0.5 kB / 1.259 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06159/2.077, allocations: 12.08 MB / 1.271 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/2.078, allocations: 0.6623 MB / 1.271 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000807/2.079, allocations: 39.67 kB / 1.272 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01713/2.096, allocations: 2.4 MB / 1.274 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/2.097, allocations: 99.61 kB / 1.274 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006391/2.097, allocations: 105.7 kB / 1.274 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009403/2.098, allocations: 0.5386 MB / 1.275 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.098, allocations: 2.844 kB / 1.275 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002687/2.101, allocations: 0.7078 MB / 1.275 GB, free: 276.1 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.001951/2.103, allocations: 0.657 MB / 1.276 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06017/2.163, allocations: 12.9 MB / 1.289 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/2.163, allocations: 0 / 1.289 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03015/2.193, allocations: 6.505 MB / 1.295 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/2.196, allocations: 291.3 kB / 1.295 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/2.23, allocations: 8.715 MB / 1.304 GB, free: 250.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/2.23, allocations: 1.153 MB / 1.305 GB, free: 249.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/2.233, allocations: 326.9 kB / 1.305 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.194e-06/2.233, allocations: 0 / 1.305 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.0462/2.28, allocations: 44.41 MB / 1.348 GB, free: 204.7 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/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