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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001013/0.001013, allocations: 99.03 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.001248/0.001249, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 10.88 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006821/0.3008, allocations: 6.09 MB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.4531, allocations: 147.4 MB / 1.209 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.4542, allocations: 19.94 kB / 1.209 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007798/0.455, allocations: 186.5 kB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.4571, allocations: 0.6028 MB / 1.21 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.4594, allocations: 0.9143 MB / 1.211 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002422/0.4618, allocations: 2.028 MB / 1.213 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.4632, allocations: 0.8825 MB / 1.214 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009756/0.4642, allocations: 0.5366 MB / 1.214 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.4653, allocations: 0.6413 MB / 1.215 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.4655, allocations: 40 kB / 1.215 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4667, allocations: 0.5073 MB / 1.215 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.4671, allocations: 294.6 kB / 1.216 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.468, allocations: 0.6969 MB / 1.216 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.4699, allocations: 1.913 MB / 1.218 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4699, allocations: 4 kB / 1.218 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4699, allocations: 4 kB / 1.218 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.163e-05/0.47, allocations: 0 / 1.218 GB, free: 1.559 MB / 0.9669 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.003772/0.4738, allocations: 1.636 MB / 1.22 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4738, allocations: 8.031 kB / 1.22 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1258/0.5996, allocations: 20.93 MB / 1.24 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.6025, allocations: 1.375 MB / 1.242 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.6026, allocations: 114.7 kB / 1.242 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007481/0.6034, allocations: 135.9 kB / 1.242 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6068/1.21, allocations: 9.715 MB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/1.21, allocations: 1.406 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/1.211, allocations: 57.66 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/1.211, allocations: 33.44 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08254/1.293, allocations: 17.5 MB / 1.269 GB, free: 188.2 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.04864/1.342, allocations: 13.25 MB / 1.281 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04358/1.386, allocations: 9.998 MB / 1.291 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03551/1.421, allocations: 8.176 MB / 1.299 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/1.422, allocations: 0.6016 MB / 1.3 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03659/1.458, allocations: 8.74 MB / 1.308 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 4.9e-06/1.458, allocations: 7.828 kB / 1.308 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.1039/1.562, allocations: 23.88 MB / 1.332 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/1.562, allocations: 192.9 kB / 1.332 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.564, allocations: 0.8177 MB / 1.333 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007428/1.564, allocations: 45.7 kB / 1.333 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000501/1.565, allocations: 0.5453 MB / 1.333 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/1.566, allocations: 376.6 kB / 1.334 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006448/1.566, allocations: 101.7 kB / 1.334 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.567, allocations: 349.9 kB / 1.334 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03502/1.602, allocations: 8.248 MB / 1.342 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03463/1.636, allocations: 8.378 MB / 1.35 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06344/1.7, allocations: 14.37 MB / 1.364 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.7, allocations: 3.938 kB / 1.364 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.06967/1.77, allocations: 15.91 MB / 1.38 GB, free: 89.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/1.77, allocations: 8 kB / 1.38 GB, free: 89.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.77, allocations: 8 kB / 1.38 GB, free: 89.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/1.77, allocations: 84.77 kB / 1.38 GB, free: 89.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02008/1.79, allocations: 3.542 MB / 1.383 GB, free: 86.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/1.792, allocations: 1.56 MB / 1.385 GB, free: 84.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01936/1.812, allocations: 3.345 MB / 1.388 GB, free: 81.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007611/1.812, allocations: 104.9 kB / 1.388 GB, free: 81.12 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.001733/1.814, allocations: 343.9 kB / 1.389 GB, free: 80.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/1.815, allocations: 110.6 kB / 1.389 GB, free: 80.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0741/1.889, allocations: 16.45 MB / 1.405 GB, free: 64.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.889, allocations: 16 kB / 1.405 GB, free: 64.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.889, allocations: 0 / 1.405 GB, free: 64.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/1.889, allocations: 7.969 kB / 1.405 GB, free: 64.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/1.892, allocations: 2.47 MB / 1.407 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.892, allocations: 0 / 1.407 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01983/1.912, allocations: 3.519 MB / 1.411 GB, free: 58.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005744/1.912, allocations: 84.78 kB / 1.411 GB, free: 58.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006702/1.913, allocations: 95.8 kB / 1.411 GB, free: 57.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/1.915, allocations: 1.572 MB / 1.412 GB, free: 56.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.915, allocations: 0 / 1.412 GB, free: 56.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07002/1.985, allocations: 15.81 MB / 1.428 GB, free: 40.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.986, allocations: 0.8306 MB / 1.429 GB, free: 39.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007427/1.987, allocations: 28 kB / 1.429 GB, free: 39.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01913/2.006, allocations: 3.293 MB / 1.432 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/2.007, allocations: 97.17 kB / 1.432 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005312/2.007, allocations: 99.81 kB / 1.432 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008203/2.008, allocations: 0.581 MB / 1.433 GB, free: 35.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/2.008, allocations: 0 / 1.433 GB, free: 35.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002288/2.01, allocations: 0.7518 MB / 1.433 GB, free: 34.76 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.001826/2.012, allocations: 0.6368 MB / 1.434 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0718/2.084, allocations: 16.81 MB / 1.45 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/2.084, allocations: 0.7031 kB / 1.45 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03662/2.121, allocations: 8.494 MB / 1.459 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/2.123, allocations: 322.6 kB / 1.459 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03984/2.163, allocations: 10.79 MB / 1.47 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/2.164, allocations: 1.183 MB / 1.471 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/2.167, allocations: 338.7 kB / 1.471 GB, free: 12.3 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/2.167, allocations: 3.062 kB / 1.471 GB, free: 12.3 MB / 1.014 GB Notification: Performance of Templates: time 0.0736/2.241, allocations: 49.53 MB / 1.519 GB, free: 10.69 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches