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.007431/0.007431, allocations: 102 kB / 15.73 MB, free: 6.02 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.002073/0.002073, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.601/2.601, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.88 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6672, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008425/0.6756, allocations: 6.074 MB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.8491, allocations: 151.9 MB / 1.32 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.8499, allocations: 15.94 kB / 1.32 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.8505, allocations: 225.8 kB / 1.321 GB, free: 4.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.8523, allocations: 0.6681 MB / 1.321 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.8544, allocations: 1.006 MB / 1.322 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.8564, allocations: 1.947 MB / 1.324 GB, free: 1.238 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.8575, allocations: 0.8257 MB / 1.325 GB, free: 388 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007863/0.8583, allocations: 0.7009 MB / 1.326 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009485/0.8593, allocations: 0.7821 MB / 1.326 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.8595, allocations: 168 kB / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.8606, allocations: 0.6713 MB / 1.327 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.861, allocations: 438.7 kB / 1.328 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007811/0.8618, allocations: 0.797 MB / 1.328 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.8644, allocations: 2.303 MB / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8644, allocations: 0 / 1.331 GB, free: 10.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8644, allocations: 7.938 kB / 1.331 GB, free: 10.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.8644, allocations: 0 / 1.331 GB, free: 10.51 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.003485/0.8679, allocations: 1.893 MB / 1.333 GB, free: 8.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.8679, allocations: 8.031 kB / 1.333 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/0.8682, allocations: 186 kB / 1.333 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1114/0.9796, allocations: 15.39 MB / 1.348 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.982, allocations: 1.239 MB / 1.349 GB, free: 7.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/0.9821, allocations: 94.47 kB / 1.349 GB, free: 7.566 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.9825, allocations: 120 kB / 1.349 GB, free: 7.449 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03672/1.019, allocations: 7.673 MB / 1.357 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.019, allocations: 0 / 1.357 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/1.02, allocations: 52 kB / 1.357 GB, free: 15.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/1.02, allocations: 32 kB / 1.357 GB, free: 15.62 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06903/1.089, allocations: 13.58 MB / 1.37 GB, free: 2.02 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.0575/1.146, allocations: 9.842 MB / 1.38 GB, free: 8.016 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04226/1.188, allocations: 7.9 MB / 1.387 GB, free: 108 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04198/1.23, allocations: 6.194 MB / 1.393 GB, free: 9.895 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008368/1.231, allocations: 0.6023 MB / 1.394 GB, free: 9.164 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05179/1.283, allocations: 6.756 MB / 1.401 GB, free: 2.383 MB / 1.123 GB Notification: Performance of pre-optimization done (n=113): time 3.937e-06/1.283, allocations: 0 / 1.401 GB, free: 2.383 MB / 1.123 GB Notification: Performance of matching and sorting (n=113): time 0.1047/1.388, allocations: 18.18 MB / 1.418 GB, free: 148 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/1.388, allocations: 200.9 kB / 1.419 GB, free: 15.91 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.389, allocations: 0.759 MB / 1.419 GB, free: 15.14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003299/1.39, allocations: 53.69 kB / 1.419 GB, free: 15.08 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/1.39, allocations: 0.5091 MB / 1.42 GB, free: 14.56 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/1.391, allocations: 380.8 kB / 1.42 GB, free: 14.19 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/1.392, allocations: 358.5 kB / 1.421 GB, free: 13.83 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.392, allocations: 345.9 kB / 1.421 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0346/1.426, allocations: 6.299 MB / 1.427 GB, free: 7.18 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03447/1.461, allocations: 6.444 MB / 1.433 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06189/1.523, allocations: 10.9 MB / 1.444 GB, free: 5.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.523, allocations: 0 / 1.444 GB, free: 5.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06703/1.59, allocations: 12.22 MB / 1.456 GB, free: 9.516 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.59, allocations: 4 kB / 1.456 GB, free: 9.512 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.59, allocations: 8.062 kB / 1.456 GB, free: 9.504 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/1.591, allocations: 84.7 kB / 1.456 GB, free: 9.418 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/1.609, allocations: 2.667 MB / 1.459 GB, free: 6.746 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/1.612, allocations: 1.638 MB / 1.46 GB, free: 4.961 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0182/1.63, allocations: 2.46 MB / 1.463 GB, free: 2.496 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004412/1.63, allocations: 103.8 kB / 1.463 GB, free: 2.395 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.0009994/1.631, allocations: 315.9 kB / 1.463 GB, free: 2.078 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/1.632, allocations: 107.3 kB / 1.463 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06978/1.702, allocations: 12.73 MB / 1.476 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.702, allocations: 12 kB / 1.476 GB, free: 5.207 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.702, allocations: 4 kB / 1.476 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/1.702, allocations: 7.969 kB / 1.476 GB, free: 5.195 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/1.704, allocations: 1.868 MB / 1.477 GB, free: 3.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.704, allocations: 3.938 kB / 1.477 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01895/1.723, allocations: 2.652 MB / 1.48 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/1.724, allocations: 76.72 kB / 1.48 GB, free: 0.543 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/1.724, allocations: 95.81 kB / 1.48 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/1.726, allocations: 1.658 MB / 1.482 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.726, allocations: 0 / 1.482 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06783/1.794, allocations: 12.1 MB / 1.494 GB, free: 2.5 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.796, allocations: 0.6712 MB / 1.494 GB, free: 1.809 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/1.796, allocations: 28.06 kB / 1.494 GB, free: 1.781 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01819/1.814, allocations: 2.402 MB / 1.497 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.814, allocations: 97.17 kB / 1.497 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003479/1.815, allocations: 107.8 kB / 1.497 GB, free: 15.18 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007977/1.816, allocations: 0.542 MB / 1.497 GB, free: 14.64 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.41e-07/1.816, allocations: 0 / 1.497 GB, free: 14.64 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001853/1.817, allocations: 0.7254 MB / 1.498 GB, free: 13.91 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.06995/1.887, allocations: 13.19 MB / 1.511 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.06885/1.956, allocations: 12.88 MB / 1.524 GB, free: 3.934 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.956, allocations: 0 / 1.524 GB, free: 3.934 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.03496/1.991, allocations: 6.517 MB / 1.53 GB, free: 13.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/1.993, allocations: 338.2 kB / 1.53 GB, free: 13.09 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6712/2.664, 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.0004202/2.665, allocations: 1.153 MB / 1.574 GB, free: 386.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003023/2.668, allocations: 0.7308 MB / 1.574 GB, free: 385.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/2.67, allocations: 0.6356 MB / 1.575 GB, free: 385.2 MB / 1.279 GB Notification: Performance of SimCode: time 4.41e-07/2.67, allocations: 0 / 1.575 GB, free: 385.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/2.737, allocations: 47 MB / 1.621 GB, free: 338.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/19.88, allocations: 10.64 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