Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004966/0.004966, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001202/0.001202, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.353/2.353, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6559, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.006974/0.6629, allocations: 6.078 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1466/0.8096, allocations: 151.9 MB / 1.32 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007513/0.8103, allocations: 23.88 kB / 1.32 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.811, allocations: 225.8 kB / 1.321 GB, free: 4.898 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.8126, allocations: 0.6802 MB / 1.321 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.8147, allocations: 1.01 MB / 1.322 GB, free: 3.215 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.8163, allocations: 1.947 MB / 1.324 GB, free: 1.258 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.8173, allocations: 0.8218 MB / 1.325 GB, free: 412 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007414/0.8181, allocations: 0.7126 MB / 1.326 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007872/0.8189, allocations: 0.782 MB / 1.327 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.8191, allocations: 176 kB / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.8202, allocations: 0.6674 MB / 1.327 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.8205, allocations: 442.6 kB / 1.328 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.8212, allocations: 0.7931 MB / 1.329 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.8234, allocations: 2.306 MB / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8234, allocations: 3.938 kB / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8234, allocations: 0 / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.8234, allocations: 0 / 1.331 GB, free: 10.52 MB / 1.061 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.003231/0.8267, allocations: 1.889 MB / 1.333 GB, free: 8.566 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.8267, allocations: 8.031 kB / 1.333 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.8269, allocations: 190 kB / 1.333 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1065/0.9335, allocations: 15.38 MB / 1.348 GB, free: 8.953 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.9359, allocations: 1.231 MB / 1.349 GB, free: 7.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.936, allocations: 94.47 kB / 1.349 GB, free: 7.586 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.9364, allocations: 120 kB / 1.349 GB, free: 7.469 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/0.971, allocations: 7.677 MB / 1.357 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.9711, allocations: 0 / 1.357 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/0.9714, allocations: 55.98 kB / 1.357 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.9714, allocations: 28 kB / 1.357 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06663/1.038, allocations: 13.58 MB / 1.37 GB, free: 2.031 MB / 1.092 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.04169/1.08, allocations: 9.836 MB / 1.38 GB, free: 8.035 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03854/1.118, allocations: 7.9 MB / 1.387 GB, free: 128 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03157/1.15, allocations: 6.198 MB / 1.393 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/1.151, allocations: 0.6022 MB / 1.394 GB, free: 9.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03249/1.183, allocations: 6.76 MB / 1.401 GB, free: 2.395 MB / 1.123 GB Notification: Performance of pre-optimization done (n=113): time 3.547e-06/1.183, allocations: 0 / 1.401 GB, free: 2.395 MB / 1.123 GB Notification: Performance of matching and sorting (n=113): time 0.09505/1.278, allocations: 18.18 MB / 1.418 GB, free: 164 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.278, allocations: 204.9 kB / 1.419 GB, free: 15.92 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/1.279, allocations: 0.759 MB / 1.419 GB, free: 15.15 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003659/1.28, allocations: 49.7 kB / 1.419 GB, free: 15.09 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/1.28, allocations: 0.5052 MB / 1.42 GB, free: 14.58 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000582/1.281, allocations: 380.8 kB / 1.42 GB, free: 14.21 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/1.282, allocations: 358.5 kB / 1.421 GB, free: 13.85 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.282, allocations: 349.9 kB / 1.421 GB, free: 13.5 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03307/1.315, allocations: 6.303 MB / 1.427 GB, free: 7.191 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03263/1.348, allocations: 6.44 MB / 1.433 GB, free: 0.707 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06007/1.408, allocations: 10.9 MB / 1.444 GB, free: 5.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.408, allocations: 4 kB / 1.444 GB, free: 5.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06501/1.473, allocations: 12.22 MB / 1.456 GB, free: 9.535 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.473, allocations: 12.06 kB / 1.456 GB, free: 9.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.473, allocations: 0 / 1.456 GB, free: 9.523 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/1.474, allocations: 88.75 kB / 1.456 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01764/1.491, allocations: 2.663 MB / 1.459 GB, free: 6.766 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.494, allocations: 1.645 MB / 1.46 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01656/1.51, allocations: 2.456 MB / 1.463 GB, free: 2.512 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004783/1.511, allocations: 107.8 kB / 1.463 GB, free: 2.406 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (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 (132): * Single equations (assignments): 131 * 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.001162/1.512, allocations: 317.7 kB / 1.463 GB, free: 2.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/1.512, allocations: 111.3 kB / 1.463 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06625/1.579, allocations: 12.72 MB / 1.476 GB, free: 5.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/1.579, allocations: 16 kB / 1.476 GB, free: 5.215 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.579, allocations: 0 / 1.476 GB, free: 5.215 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.579, allocations: 7.969 kB / 1.476 GB, free: 5.207 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.581, allocations: 1.872 MB / 1.477 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.581, allocations: 7.938 kB / 1.477 GB, free: 3.285 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01751/1.599, allocations: 2.652 MB / 1.48 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/1.599, allocations: 68.78 kB / 1.48 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005151/1.6, allocations: 95.81 kB / 1.48 GB, free: 476 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.602, allocations: 1.654 MB / 1.482 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.602, allocations: 0 / 1.482 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06485/1.667, allocations: 12.1 MB / 1.494 GB, free: 2.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.669, allocations: 0.6712 MB / 1.494 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/1.669, allocations: 28 kB / 1.494 GB, free: 1.801 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01736/1.686, allocations: 2.402 MB / 1.497 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/1.687, allocations: 97.31 kB / 1.497 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004283/1.687, allocations: 99.81 kB / 1.497 GB, free: 15.2 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008102/1.688, allocations: 0.5498 MB / 1.497 GB, free: 14.66 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.9e-07/1.688, allocations: 0 / 1.497 GB, free: 14.66 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002041/1.69, allocations: 0.7253 MB / 1.498 GB, free: 13.93 MB / 1.232 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.06667/1.757, allocations: 13.2 MB / 1.511 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.06609/1.823, allocations: 12.88 MB / 1.524 GB, free: 3.941 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.823, allocations: 0 / 1.524 GB, free: 3.941 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.03282/1.856, allocations: 6.501 MB / 1.53 GB, free: 13.42 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.858, allocations: 346.2 kB / 1.53 GB, free: 13.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6746/2.532, allocations: 43.37 MB / 1.573 GB, free: 387.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/2.533, allocations: 1.152 MB / 1.574 GB, free: 386.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003116/2.536, allocations: 0.7319 MB / 1.574 GB, free: 385.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/2.538, allocations: 0.6278 MB / 1.575 GB, free: 385.1 MB / 1.279 GB Notification: Performance of SimCode: time 7.61e-07/2.538, allocations: 4 kB / 1.575 GB, free: 385.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06346/2.601, allocations: 47 MB / 1.621 GB, free: 338.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/16.03, allocations: 14.36 kB / 1.621 GB, free: 338.5 MB / 1.279 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,ove.fraSun Variables in the result:time,incAng.y,ove.alt,ove.fraSun,walSolAzi.verAzi,weaBus.HDifHor