Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008423/0.0008423, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.869/0.869, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.671/1.671, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.92e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.0051/0.005119, allocations: 5.437 MB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5169/0.522, allocations: 133.3 MB / 1.135 GB, free: 13.89 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008525/0.5229, allocations: 24.94 kB / 1.135 GB, free: 13.88 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.5235, allocations: 236.4 kB / 1.135 GB, free: 13.73 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.5253, allocations: 0.7 MB / 1.136 GB, free: 13.31 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.5272, allocations: 1.058 MB / 1.137 GB, free: 12.75 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.5294, allocations: 2.049 MB / 1.139 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.5302, allocations: 0.5345 MB / 1.14 GB, free: 11.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.5317, allocations: 1.097 MB / 1.141 GB, free: 10.85 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008346/0.5326, allocations: 0.6264 MB / 1.141 GB, free: 10.62 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.5329, allocations: 179.8 kB / 1.142 GB, free: 10.62 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.5341, allocations: 0.6897 MB / 1.142 GB, free: 10.46 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.5344, allocations: 467.2 kB / 1.143 GB, free: 10.16 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.5351, allocations: 0.5692 MB / 1.143 GB, free: 9.879 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.538, allocations: 2.551 MB / 1.146 GB, free: 8.832 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.538, allocations: 3.938 kB / 1.146 GB, free: 8.828 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.104e-06/0.538, allocations: 1.125 kB / 1.146 GB, free: 8.828 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.127e-05/0.5381, allocations: 0 / 1.146 GB, free: 8.828 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003376/0.5415, allocations: 1.865 MB / 1.148 GB, free: 7.664 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5415, allocations: 11.66 kB / 1.148 GB, free: 7.664 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002118/0.5417, allocations: 189.4 kB / 1.148 GB, free: 7.543 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05443/0.5962, allocations: 16.09 MB / 1.163 GB, free: 5.977 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.5987, allocations: 1.2 MB / 1.165 GB, free: 5.066 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.5988, allocations: 96.7 kB / 1.165 GB, free: 5.023 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/0.5992, allocations: 138.1 kB / 1.165 GB, free: 4.973 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.6183, allocations: 8.242 MB / 1.173 GB, free: 208 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.6184, allocations: 0.9375 kB / 1.173 GB, free: 208 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.6186, allocations: 52.44 kB / 1.173 GB, free: 168 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.6186, allocations: 30.06 kB / 1.173 GB, free: 168 kB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03493/0.6536, allocations: 14 MB / 1.187 GB, free: 8.977 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/0.6763, allocations: 9.112 MB / 1.196 GB, free: 3.371 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02928/0.7056, allocations: 9.989 MB / 1.205 GB, free: 9.582 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01656/0.7221, allocations: 6.409 MB / 1.212 GB, free: 3.16 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.7224, allocations: 78.19 kB / 1.212 GB, free: 3.082 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01749/0.7399, allocations: 7.153 MB / 1.219 GB, free: 11.88 MB / 1.057 GB Notification: Performance of pre-optimization done (n=123): time 3.316e-06/0.7399, allocations: 0 / 1.219 GB, free: 11.88 MB / 1.057 GB Notification: Performance of matching and sorting (n=123): time 0.05049/0.7904, allocations: 18.83 MB / 1.237 GB, free: 9.004 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.7905, allocations: 204.9 kB / 1.237 GB, free: 8.762 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/0.7914, allocations: 0.7973 MB / 1.238 GB, free: 7.961 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004656/0.7919, allocations: 53.7 kB / 1.238 GB, free: 7.902 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.7922, allocations: 0.5094 MB / 1.238 GB, free: 7.387 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.7927, allocations: 408.4 kB / 1.239 GB, free: 6.988 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007305/0.7934, allocations: 394.4 kB / 1.239 GB, free: 6.598 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7935, allocations: 349.9 kB / 1.24 GB, free: 6.25 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01687/0.8104, allocations: 6.564 MB / 1.246 GB, free: 15.68 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01752/0.8279, allocations: 6.889 MB / 1.253 GB, free: 8.703 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03201/0.8599, allocations: 11.33 MB / 1.264 GB, free: 13.35 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.8599, allocations: 0 / 1.264 GB, free: 13.35 MB / 1.104 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.03487/0.8948, allocations: 12.74 MB / 1.276 GB, free: 0.5781 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8948, allocations: 4.109 kB / 1.276 GB, free: 0.5742 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8948, allocations: 8 kB / 1.276 GB, free: 0.5664 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.8951, allocations: 88.7 kB / 1.276 GB, free: 488 kB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009002/0.9041, allocations: 2.773 MB / 1.279 GB, free: 13.7 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.9056, allocations: 1.514 MB / 1.281 GB, free: 12.07 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008966/0.9145, allocations: 2.55 MB / 1.283 GB, free: 9.516 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000508/0.915, allocations: 114.9 kB / 1.283 GB, free: 9.406 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 (ove.solAzi.outsidePolarCircle,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.k,$PRE.incAng.decAng.k,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 (148): * Single equations (assignments): 147 * 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.001001/0.916, allocations: 336.3 kB / 1.283 GB, free: 9.07 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.9165, allocations: 119.2 kB / 1.284 GB, free: 8.953 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03507/0.9516, allocations: 13.34 MB / 1.297 GB, free: 11.59 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.9516, allocations: 16 kB / 1.297 GB, free: 11.57 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9516, allocations: 3.938 kB / 1.297 GB, free: 11.57 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.9516, allocations: 7.969 kB / 1.297 GB, free: 11.56 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03676/0.9883, allocations: 14.96 MB / 1.311 GB, free: 12.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.9884, allocations: 3.984 kB / 1.311 GB, free: 12.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009046/0.9974, allocations: 2.745 MB / 1.314 GB, free: 9.758 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.9977, allocations: 75.89 kB / 1.314 GB, free: 9.684 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004617/0.9982, allocations: 103.8 kB / 1.314 GB, free: 9.582 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.9995, allocations: 1.548 MB / 1.316 GB, free: 7.918 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9995, allocations: 0 / 1.316 GB, free: 7.918 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/1.033, allocations: 12.64 MB / 1.328 GB, free: 11.24 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.034, allocations: 0.6187 MB / 1.329 GB, free: 10.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003475/1.035, allocations: 32.86 kB / 1.329 GB, free: 10.59 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008551/1.043, allocations: 2.488 MB / 1.331 GB, free: 8.105 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.043, allocations: 105.1 kB / 1.331 GB, free: 8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003067/1.044, allocations: 111.8 kB / 1.331 GB, free: 7.891 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000613/1.044, allocations: 0.5615 MB / 1.332 GB, free: 7.332 MB / 1.167 GB Notification: Performance of sort global known variables: time 9e-08/1.044, allocations: 3.938 kB / 1.332 GB, free: 7.328 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001825/1.046, allocations: 0.7293 MB / 1.332 GB, free: 6.598 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.03494/1.081, allocations: 13.79 MB / 1.346 GB, free: 8.977 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03489/1.116, allocations: 13.36 MB / 1.359 GB, free: 11.59 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.116, allocations: 0 / 1.359 GB, free: 11.59 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01753/1.134, allocations: 6.712 MB / 1.366 GB, free: 4.859 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.135, allocations: 346.3 kB / 1.366 GB, free: 4.547 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/1.246, allocations: 45.23 MB / 1.41 GB, free: 7.113 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/1.247, allocations: 0.5729 MB / 1.411 GB, free: 6.504 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.002691/1.249, allocations: 0.8251 MB / 1.411 GB, free: 5.676 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1.251, allocations: 0.6523 MB / 1.412 GB, free: 5.023 MB / 1.245 GB Notification: Performance of SimCode: time 2.023e-06/1.251, allocations: 0 / 1.412 GB, free: 5.023 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06645/1.317, allocations: 54.08 MB / 1.465 GB, free: 15.25 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.681/9.998, allocations: 11.25 kB / 1.465 GB, free: 15.25 MB / 1.307 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.097272762097418]