Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.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.001356/0.001356, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001381/0.001381, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.427/1.427, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 70.67 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009035/0.3562, allocations: 6.637 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1968/0.553, allocations: 155.4 MB / 1.479 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.5542, allocations: 23.81 kB / 1.479 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009556/0.5551, allocations: 253.6 kB / 1.479 GB, free: 416 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.5579, allocations: 0.7334 MB / 1.48 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.5608, allocations: 1.06 MB / 1.481 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.5639, allocations: 2.165 MB / 1.483 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.5653, allocations: 0.6438 MB / 1.484 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.5667, allocations: 0.8178 MB / 1.485 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.5681, allocations: 0.8716 MB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006002/0.5687, allocations: 212 kB / 1.486 GB, free: 9.867 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.5707, allocations: 0.7494 MB / 1.486 GB, free: 9.117 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.5715, allocations: 0.4946 MB / 1.487 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.5728, allocations: 0.9021 MB / 1.488 GB, free: 7.715 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.5768, allocations: 2.682 MB / 1.49 GB, free: 5.023 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5769, allocations: 4 kB / 1.49 GB, free: 5.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5769, allocations: 3.938 kB / 1.49 GB, free: 5.016 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.269e-05/0.5769, allocations: 0 / 1.49 GB, free: 5.016 MB / 1.186 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.004119/0.581, allocations: 2.054 MB / 1.492 GB, free: 2.902 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5811, allocations: 15.98 kB / 1.492 GB, free: 2.887 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002624/0.5813, allocations: 210.9 kB / 1.493 GB, free: 2.672 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1145/0.6958, allocations: 15.48 MB / 1.508 GB, free: 3.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.6988, allocations: 1.426 MB / 1.509 GB, free: 1.691 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.6989, allocations: 106.8 kB / 1.509 GB, free: 1.586 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/0.6994, allocations: 132 kB / 1.509 GB, free: 1.457 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/0.7374, allocations: 8.045 MB / 1.517 GB, free: 9.344 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.7375, allocations: 0 / 1.517 GB, free: 9.344 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.7378, allocations: 56 kB / 1.517 GB, free: 9.289 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.7379, allocations: 36 kB / 1.517 GB, free: 9.254 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0734/0.8113, allocations: 14.14 MB / 1.531 GB, free: 11.09 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04999/0.8613, allocations: 11.69 MB / 1.543 GB, free: 15.17 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04319/0.9045, allocations: 8.208 MB / 1.551 GB, free: 6.945 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03569/0.9401, allocations: 6.452 MB / 1.557 GB, free: 492 kB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/0.941, allocations: 0.6022 MB / 1.557 GB, free: 15.75 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03712/0.9781, allocations: 7.057 MB / 1.564 GB, free: 8.668 MB / 1.264 GB Notification: Performance of pre-optimization done (n=115): time 6.443e-06/0.9781, allocations: 0 / 1.564 GB, free: 8.668 MB / 1.264 GB Notification: Performance of matching and sorting (n=115): time 0.1096/1.088, allocations: 18.95 MB / 1.583 GB, free: 5.668 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/1.088, allocations: 200.9 kB / 1.583 GB, free: 5.426 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/1.09, allocations: 0.8375 MB / 1.584 GB, free: 4.578 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000682/1.09, allocations: 49.7 kB / 1.584 GB, free: 4.523 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/1.091, allocations: 0.5599 MB / 1.584 GB, free: 3.957 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009916/1.092, allocations: 396.6 kB / 1.585 GB, free: 3.566 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/1.094, allocations: 362.5 kB / 1.585 GB, free: 3.207 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.094, allocations: 349.9 kB / 1.585 GB, free: 2.859 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04303/1.137, allocations: 6.556 MB / 1.592 GB, free: 12.29 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03601/1.173, allocations: 6.698 MB / 1.598 GB, free: 5.555 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7267/1.9, allocations: 11.2 MB / 1.609 GB, free: 281.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.9, allocations: 0.5938 kB / 1.609 GB, free: 281.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.09173/1.991, allocations: 12.62 MB / 1.622 GB, free: 279.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/1.991, allocations: 5.281 kB / 1.622 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.991, allocations: 6.594 kB / 1.622 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/1.992, allocations: 84.98 kB / 1.622 GB, free: 279.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01921/2.011, allocations: 2.671 MB / 1.624 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/2.013, allocations: 1.651 MB / 1.626 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01853/2.032, allocations: 2.459 MB / 1.628 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/2.033, allocations: 102.8 kB / 1.628 GB, free: 275.5 MB / 1.295 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.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 (134): * Single equations (assignments): 133 * 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.00148/2.034, allocations: 355.2 kB / 1.629 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008277/2.035, allocations: 117 kB / 1.629 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06706/2.102, allocations: 13.19 MB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/2.102, allocations: 14.94 kB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/2.102, allocations: 3.938 kB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/2.102, allocations: 7.984 kB / 1.642 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/2.105, allocations: 2.469 MB / 1.644 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/2.105, allocations: 0 / 1.644 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01758/2.123, allocations: 2.652 MB / 1.647 GB, free: 263.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/2.123, allocations: 76.78 kB / 1.647 GB, free: 263.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006367/2.124, allocations: 91.81 kB / 1.647 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/2.125, allocations: 1.682 MB / 1.649 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.125, allocations: 4.031 kB / 1.649 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06352/2.189, allocations: 12.57 MB / 1.661 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/2.19, allocations: 0.8106 MB / 1.662 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007699/2.191, allocations: 35.95 kB / 1.662 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0171/2.208, allocations: 2.404 MB / 1.664 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/2.209, allocations: 97.17 kB / 1.664 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005619/2.209, allocations: 111.7 kB / 1.664 GB, free: 245.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009296/2.21, allocations: 0.5968 MB / 1.665 GB, free: 244.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.21, allocations: 0 / 1.665 GB, free: 244.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002486/2.213, allocations: 0.7541 MB / 1.666 GB, free: 243.9 MB / 1.295 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.06769/2.28, allocations: 13.67 MB / 1.679 GB, free: 230.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06372/2.344, allocations: 13.38 MB / 1.692 GB, free: 217 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/2.344, allocations: 4 kB / 1.692 GB, free: 217 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03253/2.376, allocations: 6.755 MB / 1.699 GB, free: 210.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/2.379, allocations: 359.5 kB / 1.699 GB, free: 209.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.204/2.583, allocations: 45.42 MB / 1.743 GB, free: 164.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/2.584, allocations: 1.199 MB / 1.745 GB, free: 163.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004227/2.588, allocations: 0.7394 MB / 1.745 GB, free: 162.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/2.591, allocations: 0.6825 MB / 1.746 GB, free: 161.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.312e-06/2.591, allocations: 3.938 kB / 1.746 GB, free: 161.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08766/2.678, allocations: 50.97 MB / 1.796 GB, free: 110.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/16.9, allocations: 9.875 kB / 1.796 GB, free: 110.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable ove.fraSun in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv. Warning: Get data of variable ove.fraSun from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv failed! Error: Could not read variable ove.HDirTilUns in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv. Warning: Get data of variable ove.HDirTilUns from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv failed! Error: Could not read variable ove.HDirTil in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv. Warning: Get data of variable ove.HDirTil from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.646021435037255]