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.001143/0.001143, allocations: 98.88 kB / 16.02 MB, free: 76 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.001178/0.001178, allocations: 183.3 kB / 16.92 MB, free: 6.773 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: 223.3 MB / 241 MB, free: 5.355 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.484/2.484, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.0005247, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7506, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.004569/0.7552, allocations: 4.645 MB / 0.9602 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1663/0.9215, allocations: 147.2 MB / 1.104 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.9226, allocations: 23.81 kB / 1.104 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.9234, allocations: 150.8 kB / 1.104 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.926, allocations: 0.494 MB / 1.105 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.9294, allocations: 0.8745 MB / 1.105 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002855/0.9322, allocations: 1.699 MB / 1.107 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.9341, allocations: 0.8206 MB / 1.108 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.9352, allocations: 0.4938 MB / 1.108 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.9364, allocations: 0.5674 MB / 1.109 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.9367, allocations: 40 kB / 1.109 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.9379, allocations: 0.519 MB / 1.11 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.9383, allocations: 274.8 kB / 1.11 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.939, allocations: 0.6189 MB / 1.11 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.9407, allocations: 1.609 MB / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9407, allocations: 0 / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9407, allocations: 0 / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.683e-05/0.9408, allocations: 4 kB / 1.112 GB, free: 14.81 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.003377/0.9441, allocations: 1.518 MB / 1.113 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9442, allocations: 8.031 kB / 1.113 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1402/1.084, allocations: 20.91 MB / 1.134 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/1.087, allocations: 1.207 MB / 1.135 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.087, allocations: 94.47 kB / 1.135 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005883/1.088, allocations: 120 kB / 1.135 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04012/1.128, allocations: 9.349 MB / 1.144 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/1.128, allocations: 0 / 1.144 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004268/1.128, allocations: 55.98 kB / 1.144 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.128, allocations: 32 kB / 1.144 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07644/1.205, allocations: 16.93 MB / 1.161 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04675/1.251, allocations: 11.29 MB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04456/1.296, allocations: 9.613 MB / 1.181 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03593/1.332, allocations: 7.87 MB / 1.189 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/1.333, allocations: 0.606 MB / 1.19 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03891/1.372, allocations: 8.428 MB / 1.198 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=113): time 4.708e-06/1.372, allocations: 0 / 1.198 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=113): time 0.114/1.486, allocations: 23.1 MB / 1.22 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.486, allocations: 196.9 kB / 1.221 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.487, allocations: 0.7705 MB / 1.221 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005337/1.488, allocations: 49.69 kB / 1.221 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/1.488, allocations: 496.5 kB / 1.222 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000709/1.489, allocations: 374.6 kB / 1.222 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/1.489, allocations: 97.67 kB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.489, allocations: 345.9 kB / 1.223 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03743/1.527, allocations: 7.998 MB / 1.231 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03654/1.563, allocations: 8.121 MB / 1.238 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5375/2.101, allocations: 14.06 MB / 1.252 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/2.101, allocations: 0 / 1.252 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.07457/2.176, allocations: 15.51 MB / 1.267 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/2.176, allocations: 6.188 kB / 1.267 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/2.176, allocations: 1.5 kB / 1.267 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/2.176, allocations: 82.97 kB / 1.267 GB, free: 282.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01983/2.196, allocations: 3.544 MB / 1.271 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/2.198, allocations: 1.515 MB / 1.272 GB, free: 279.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01938/2.217, allocations: 3.337 MB / 1.276 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006783/2.218, allocations: 108 kB / 1.276 GB, free: 278.4 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.001388/2.22, allocations: 319.2 kB / 1.276 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/2.22, allocations: 114.8 kB / 1.276 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06853/2.289, allocations: 15.97 MB / 1.292 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/2.289, allocations: 16 kB / 1.292 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/2.289, allocations: 0 / 1.292 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/2.289, allocations: 10.27 kB / 1.292 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/2.291, allocations: 1.847 MB / 1.294 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/2.291, allocations: 4 kB / 1.294 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01885/2.31, allocations: 3.511 MB / 1.297 GB, free: 258.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/2.31, allocations: 91.88 kB / 1.297 GB, free: 258.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005238/2.311, allocations: 91.8 kB / 1.297 GB, free: 258.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/2.312, allocations: 1.552 MB / 1.299 GB, free: 256.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.312, allocations: 3.938 kB / 1.299 GB, free: 256.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06809/2.38, allocations: 15.33 MB / 1.314 GB, free: 241.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/2.382, allocations: 0.6822 MB / 1.314 GB, free: 240.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004657/2.382, allocations: 31.98 kB / 1.314 GB, free: 240.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01855/2.401, allocations: 3.278 MB / 1.318 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/2.401, allocations: 97.16 kB / 1.318 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003903/2.401, allocations: 110.4 kB / 1.318 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006264/2.402, allocations: 0.5419 MB / 1.318 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/2.402, allocations: 4 kB / 1.318 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00176/2.404, allocations: 0.6955 MB / 1.319 GB, free: 235.7 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.001581/2.405, allocations: 0.6596 MB / 1.32 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06986/2.475, allocations: 16.26 MB / 1.335 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.475, allocations: 7.609 kB / 1.335 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03445/2.51, allocations: 8.182 MB / 1.343 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/2.512, allocations: 293.6 kB / 1.344 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03747/2.549, allocations: 10.45 MB / 1.354 GB, free: 200 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/2.55, allocations: 1.151 MB / 1.355 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/2.552, allocations: 326.9 kB / 1.355 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/2.552, allocations: 0 / 1.355 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04476/2.597, allocations: 44.25 MB / 1.399 GB, free: 154.3 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