Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun|ove.HDirTilUns|ove.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001549/0.001549, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.369/1.369, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437 MB / 0.7107 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 55.91 kB / 0.8694 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6315, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008529/0.6401, allocations: 6.57 MB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.8011, allocations: 149.8 MB / 1.17 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.8026, allocations: 23.88 kB / 1.17 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.8037, allocations: 182.5 kB / 1.17 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.8067, allocations: 0.6183 MB / 1.171 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.8094, allocations: 0.941 MB / 1.172 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.8122, allocations: 2.141 MB / 1.174 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.8136, allocations: 0.9325 MB / 1.175 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.8149, allocations: 0.7943 MB / 1.176 GB, free: 72 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.8163, allocations: 0.8678 MB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006284/0.8169, allocations: 208 kB / 1.177 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.8187, allocations: 0.6751 MB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006444/0.8194, allocations: 490.6 kB / 1.178 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.8207, allocations: 0.9059 MB / 1.179 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.8235, allocations: 1.992 MB / 1.181 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8235, allocations: 0 / 1.181 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8235, allocations: 0 / 1.181 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.517e-05/0.8236, allocations: 0 / 1.181 GB, free: 10.93 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.005487/0.8291, allocations: 1.959 MB / 1.183 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.8292, allocations: 8.031 kB / 1.183 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1022/0.9314, allocations: 15.39 MB / 1.198 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.9342, allocations: 1.379 MB / 1.199 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.9344, allocations: 110.7 kB / 1.199 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006919/0.9351, allocations: 136 kB / 1.199 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03573/0.9708, allocations: 8.045 MB / 1.207 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.9709, allocations: 3.938 kB / 1.207 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005085/0.9714, allocations: 56 kB / 1.207 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.9714, allocations: 32 kB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06624/1.038, allocations: 14.14 MB / 1.221 GB, free: 1.461 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04554/1.083, allocations: 11.52 MB / 1.232 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03819/1.121, allocations: 8.286 MB / 1.24 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03047/1.152, allocations: 6.499 MB / 1.247 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/1.153, allocations: 0.6023 MB / 1.247 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6471/1.8, allocations: 7.058 MB / 1.254 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 5.771e-06/1.8, allocations: 0.875 kB / 1.254 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.09698/1.897, allocations: 18.95 MB / 1.273 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.897, allocations: 193.3 kB / 1.273 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/1.898, allocations: 0.8155 MB / 1.274 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007672/1.899, allocations: 49.64 kB / 1.274 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/1.899, allocations: 0.5351 MB / 1.274 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/1.9, allocations: 382.1 kB / 1.275 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/1.901, allocations: 370.2 kB / 1.275 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/1.901, allocations: 358.7 kB / 1.275 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03009/1.931, allocations: 6.568 MB / 1.282 GB, free: 223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02917/1.961, allocations: 6.701 MB / 1.288 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05339/2.014, allocations: 11.23 MB / 1.299 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/2.014, allocations: 0 / 1.299 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.05812/2.072, allocations: 12.68 MB / 1.312 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/2.072, allocations: 8.625 kB / 1.312 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/2.072, allocations: 0 / 1.312 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/2.073, allocations: 84.78 kB / 1.312 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01697/2.09, allocations: 2.679 MB / 1.314 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/2.092, allocations: 1.658 MB / 1.316 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01646/2.108, allocations: 2.47 MB / 1.318 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006119/2.109, allocations: 111.8 kB / 1.318 GB, free: 186.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.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (142): * Single equations (assignments): 141 * 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.001196/2.11, allocations: 346.5 kB / 1.319 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/2.111, allocations: 114.6 kB / 1.319 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05998/2.171, allocations: 13.19 MB / 1.332 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/2.171, allocations: 16 kB / 1.332 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/2.171, allocations: 7.938 kB / 1.332 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/2.171, allocations: 7.969 kB / 1.332 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/2.173, allocations: 2.453 MB / 1.334 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/2.173, allocations: 3.938 kB / 1.334 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01689/2.19, allocations: 2.656 MB / 1.337 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/2.191, allocations: 68.78 kB / 1.337 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005546/2.191, allocations: 99.81 kB / 1.337 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/2.193, allocations: 1.672 MB / 1.339 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/2.193, allocations: 0 / 1.339 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05896/2.252, allocations: 12.57 MB / 1.351 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/2.253, allocations: 0.7995 MB / 1.352 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/2.254, allocations: 31.98 kB / 1.352 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01604/2.27, allocations: 2.406 MB / 1.354 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/2.27, allocations: 105.1 kB / 1.354 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004072/2.27, allocations: 107.8 kB / 1.354 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006711/2.271, allocations: 0.5771 MB / 1.355 GB, free: 149 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.271, allocations: 0 / 1.355 GB, free: 149 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001893/2.273, allocations: 0.7408 MB / 1.355 GB, free: 148.2 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * 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.00161/2.275, allocations: 0.6627 MB / 1.356 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06162/2.336, allocations: 13.84 MB / 1.37 GB, free: 134 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.336, allocations: 4.062 kB / 1.37 GB, free: 134 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03103/2.367, allocations: 6.802 MB / 1.376 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/2.369, allocations: 352.4 kB / 1.377 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/2.403, allocations: 9.106 MB / 1.385 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/2.403, allocations: 1.186 MB / 1.387 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002621/2.406, allocations: 334.8 kB / 1.387 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/2.406, allocations: 0 / 1.387 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0507/2.457, allocations: 49.7 MB / 1.435 GB, free: 66.36 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches