Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_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.001572/0.001572, 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.001792/0.001792, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5356, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005263/0.5409, allocations: 5.064 MB / 0.9547 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.687, allocations: 151.5 MB / 1.103 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008885/0.6879, allocations: 19.88 kB / 1.103 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.6886, allocations: 198.1 kB / 1.103 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.6906, allocations: 0.582 MB / 1.103 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.6929, allocations: 0.9912 MB / 1.104 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.6947, allocations: 1.777 MB / 1.106 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.6958, allocations: 0.8623 MB / 1.107 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008649/0.6966, allocations: 0.6853 MB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.6976, allocations: 0.7522 MB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.6979, allocations: 172 kB / 1.109 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.699, allocations: 0.6401 MB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.6994, allocations: 442.7 kB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.7002, allocations: 0.7695 MB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.7025, allocations: 2.189 MB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7025, allocations: 0 / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.569e-06/0.7026, allocations: 4 kB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.446e-05/0.7026, allocations: 3.938 kB / 1.112 GB, free: 10.5 MB / 0.8731 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.003819/0.7064, allocations: 1.814 MB / 1.114 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7065, allocations: 8.031 kB / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/0.7067, allocations: 190 kB / 1.114 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.117/0.8237, allocations: 15.37 MB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.8261, allocations: 1.203 MB / 1.131 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.8262, allocations: 98.47 kB / 1.131 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/0.8268, allocations: 124 kB / 1.131 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03838/0.8651, allocations: 7.681 MB / 1.138 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.8652, allocations: 7.938 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.8656, allocations: 52 kB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.8656, allocations: 31.98 kB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07258/0.9382, allocations: 13.57 MB / 1.152 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04386/0.9821, allocations: 9.543 MB / 1.161 GB, free: 8.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0423/1.024, allocations: 7.898 MB / 1.169 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0341/1.059, allocations: 6.191 MB / 1.175 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/1.059, allocations: 0.5984 MB / 1.175 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03566/1.095, allocations: 6.756 MB / 1.182 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=113): time 3.988e-06/1.095, allocations: 0 / 1.182 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=113): time 0.1052/1.2, allocations: 18.17 MB / 1.2 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.2, allocations: 196.9 kB / 1.2 GB, free: 416 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.201, allocations: 0.755 MB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005065/1.202, allocations: 53.7 kB / 1.201 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/1.202, allocations: 0.5003 MB / 1.201 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/1.203, allocations: 358.7 kB / 1.202 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/1.204, allocations: 362.5 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.204, allocations: 345.9 kB / 1.202 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03538/1.24, allocations: 6.299 MB / 1.208 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03533/1.275, allocations: 6.437 MB / 1.215 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06443/1.34, allocations: 10.9 MB / 1.225 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.34, allocations: 0 / 1.225 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06865/1.408, allocations: 12.21 MB / 1.237 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.408, allocations: 4 kB / 1.237 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.408, allocations: 3.938 kB / 1.237 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/1.409, allocations: 84.83 kB / 1.237 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01895/1.428, allocations: 2.667 MB / 1.24 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.43, allocations: 1.63 MB / 1.241 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01846/1.449, allocations: 2.456 MB / 1.244 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/1.449, allocations: 99.8 kB / 1.244 GB, free: 2.973 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: 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.001116/1.45, allocations: 315.3 kB / 1.244 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006318/1.451, allocations: 106.7 kB / 1.244 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4464/1.897, allocations: 12.73 MB / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.897, allocations: 19.8 kB / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.897, allocations: 0 / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.897, allocations: 3.984 kB / 1.257 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/1.899, allocations: 1.856 MB / 1.259 GB, free: 285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.899, allocations: 1.125 kB / 1.259 GB, free: 285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01856/1.918, allocations: 2.648 MB / 1.261 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/1.918, allocations: 71.02 kB / 1.261 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003524/1.919, allocations: 98.8 kB / 1.261 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/1.92, allocations: 1.66 MB / 1.263 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.92, allocations: 0 / 1.263 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06725/1.987, allocations: 12.08 MB / 1.275 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.989, allocations: 0.6655 MB / 1.275 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005179/1.99, allocations: 31.17 kB / 1.275 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01789/2.007, allocations: 2.407 MB / 1.278 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/2.008, allocations: 99.39 kB / 1.278 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004166/2.008, allocations: 99.12 kB / 1.278 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006689/2.009, allocations: 0.5495 MB / 1.279 GB, free: 274 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/2.009, allocations: 0 / 1.279 GB, free: 274 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001707/2.011, allocations: 0.7065 MB / 1.279 GB, free: 273.9 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,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.06468/2.075, allocations: 13.19 MB / 1.292 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06729/2.143, allocations: 13.25 MB / 1.305 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/2.143, allocations: 0 / 1.305 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03302/2.176, allocations: 6.501 MB / 1.311 GB, free: 242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/2.177, allocations: 323.8 kB / 1.312 GB, free: 241.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2016/2.379, allocations: 43.83 MB / 1.355 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/2.379, allocations: 1.151 MB / 1.356 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003673/2.383, allocations: 0.7232 MB / 1.356 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/2.385, allocations: 0.6278 MB / 1.357 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/2.385, allocations: 0 / 1.357 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/2.451, allocations: 46.02 MB / 1.402 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/14.45, allocations: 16.67 kB / 1.402 GB, free: 149.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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.fraSun,walSolAzi.verAzi,weaBus.HDifHor,weaBus.HDirNor