Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001544/0.001544, allocations: 108 kB / 15.6 MB, free: 132 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.001876/0.001876, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 74.2 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3605, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007891/0.3685, allocations: 6.549 MB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.533, allocations: 152 MB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.5343, allocations: 19.94 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.535, allocations: 245.6 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.5373, allocations: 0.7018 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.5398, allocations: 1.051 MB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.542, allocations: 2.138 MB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.5432, allocations: 0.9286 MB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009806/0.5441, allocations: 0.7866 MB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008963/0.545, allocations: 0.8561 MB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.5453, allocations: 208 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.5465, allocations: 0.6831 MB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.5469, allocations: 482.6 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007343/0.5477, allocations: 0.902 MB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.5502, allocations: 2.571 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5502, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5502, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.5503, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 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.003685/0.5539, allocations: 1.963 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.554, allocations: 8.031 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7739/1.328, allocations: 15.39 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/1.331, allocations: 1.376 MB / 1.253 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.331, allocations: 107.8 kB / 1.253 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/1.331, allocations: 135.2 kB / 1.253 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/1.371, allocations: 8.041 MB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/1.372, allocations: 0.5625 kB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/1.372, allocations: 61.78 kB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/1.372, allocations: 32.47 kB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07617/1.448, allocations: 14.15 MB / 1.275 GB, free: 177.6 MB / 0.9981 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.04781/1.496, allocations: 11.51 MB / 1.286 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04219/1.538, allocations: 8.284 MB / 1.294 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0333/1.571, allocations: 6.502 MB / 1.3 GB, free: 162 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/1.572, allocations: 0.6012 MB / 1.301 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0345/1.607, allocations: 7.057 MB / 1.308 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 6.602e-06/1.607, allocations: 6.812 kB / 1.308 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.101/1.708, allocations: 18.95 MB / 1.326 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/1.708, allocations: 196.9 kB / 1.327 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.709, allocations: 0.8061 MB / 1.327 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006594/1.71, allocations: 52.33 kB / 1.327 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/1.71, allocations: 0.5431 MB / 1.328 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007211/1.711, allocations: 374.2 kB / 1.328 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/1.712, allocations: 382.4 kB / 1.329 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/1.712, allocations: 349.9 kB / 1.329 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03363/1.746, allocations: 6.569 MB / 1.335 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0334/1.779, allocations: 6.707 MB / 1.342 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06198/1.841, allocations: 11.22 MB / 1.353 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.841, allocations: 3.938 kB / 1.353 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06748/1.909, allocations: 12.68 MB / 1.365 GB, free: 95.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.909, allocations: 5.25 kB / 1.365 GB, free: 95.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.909, allocations: 1.562 kB / 1.365 GB, free: 95.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/1.91, allocations: 88.83 kB / 1.365 GB, free: 95.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01912/1.929, allocations: 2.683 MB / 1.368 GB, free: 92.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/1.931, allocations: 1.637 MB / 1.37 GB, free: 90.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01854/1.95, allocations: 2.468 MB / 1.372 GB, free: 88.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000695/1.95, allocations: 111.8 kB / 1.372 GB, free: 88.03 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.001672/1.952, allocations: 346.3 kB / 1.372 GB, free: 87.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008182/1.953, allocations: 110.7 kB / 1.373 GB, free: 87.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0687/2.022, allocations: 13.19 MB / 1.385 GB, free: 74.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/2.022, allocations: 16 kB / 1.385 GB, free: 74.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/2.022, allocations: 0 / 1.385 GB, free: 74.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/2.022, allocations: 11.97 kB / 1.385 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/2.025, allocations: 2.476 MB / 1.388 GB, free: 71.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/2.025, allocations: 0 / 1.388 GB, free: 71.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01902/2.044, allocations: 2.652 MB / 1.39 GB, free: 69.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/2.044, allocations: 78.52 kB / 1.391 GB, free: 69.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006257/2.045, allocations: 91.81 kB / 1.391 GB, free: 69.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/2.047, allocations: 1.673 MB / 1.392 GB, free: 67.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.047, allocations: 15.97 kB / 1.392 GB, free: 67.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06848/2.115, allocations: 12.55 MB / 1.404 GB, free: 54.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/2.117, allocations: 0.8111 MB / 1.405 GB, free: 53.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008654/2.118, allocations: 24 kB / 1.405 GB, free: 53.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01841/2.136, allocations: 2.405 MB / 1.408 GB, free: 51.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/2.137, allocations: 97.11 kB / 1.408 GB, free: 51.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005978/2.137, allocations: 107.8 kB / 1.408 GB, free: 51.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008666/2.138, allocations: 0.581 MB / 1.408 GB, free: 50.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/2.138, allocations: 0 / 1.408 GB, free: 50.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002468/2.141, allocations: 0.7493 MB / 1.409 GB, free: 49.83 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.001916/2.143, allocations: 0.6485 MB / 1.41 GB, free: 49.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.07027/2.213, allocations: 13.84 MB / 1.423 GB, free: 35.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/2.213, allocations: 0 / 1.423 GB, free: 35.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03396/2.247, allocations: 6.814 MB / 1.43 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/2.25, allocations: 355.1 kB / 1.43 GB, free: 28.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/2.287, allocations: 8.43 MB / 1.439 GB, free: 19.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/2.287, allocations: 1.191 MB / 1.44 GB, free: 18.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004435/2.292, allocations: 0.7354 MB / 1.44 GB, free: 18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/2.294, allocations: 263 kB / 1.441 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of SimCode: time 1.633e-06/2.294, allocations: 0 / 1.441 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.06427/2.358, allocations: 41.98 MB / 1.482 GB, free: 7.859 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches