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.001904/0.001904, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.002563/0.002563, allocations: 218.1 kB / 22.26 MB, free: 5.215 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 8.016 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.363/3.363, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.002079/0.002079, allocations: 71.2 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4114, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.01155/0.423, allocations: 6.676 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2179/0.6409, allocations: 155.6 MB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.6427, allocations: 23.81 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.6439, allocations: 253.6 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.6473, allocations: 0.7397 MB / 1.485 GB, free: 14.1 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.6507, allocations: 1.076 MB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.6543, allocations: 2.18 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.6558, allocations: 0.6329 MB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.6576, allocations: 0.8256 MB / 1.49 GB, free: 9.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.6594, allocations: 0.8677 MB / 1.491 GB, free: 8.469 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006216/0.66, allocations: 211.9 kB / 1.491 GB, free: 8.262 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.6621, allocations: 0.7573 MB / 1.492 GB, free: 7.504 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007931/0.6629, allocations: 498.5 kB / 1.492 GB, free: 7.016 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.6643, allocations: 0.9059 MB / 1.493 GB, free: 6.105 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004039/0.6683, allocations: 2.689 MB / 1.496 GB, free: 3.406 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6683, allocations: 0 / 1.496 GB, free: 3.406 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6683, allocations: 0 / 1.496 GB, free: 3.406 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.418e-05/0.6684, allocations: 0 / 1.496 GB, free: 3.406 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.004292/0.6726, allocations: 1.975 MB / 1.498 GB, free: 1.391 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6727, allocations: 8.031 kB / 1.498 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002603/0.673, allocations: 203 kB / 1.498 GB, free: 1.176 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1098/0.7828, allocations: 15.49 MB / 1.513 GB, free: 1.656 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.7869, allocations: 1.354 MB / 1.514 GB, free: 280 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.7871, allocations: 102.8 kB / 1.514 GB, free: 176 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.7876, allocations: 132 kB / 1.514 GB, free: 44 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/0.8267, allocations: 8.049 MB / 1.522 GB, free: 7.922 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.8267, allocations: 0 / 1.522 GB, free: 7.922 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003746/0.8271, allocations: 56 kB / 1.522 GB, free: 7.867 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.8272, allocations: 36 kB / 1.522 GB, free: 7.832 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0705/0.8977, allocations: 14.14 MB / 1.536 GB, free: 9.664 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/0.9468, allocations: 11.64 MB / 1.548 GB, free: 13.8 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04248/0.9892, allocations: 8.203 MB / 1.556 GB, free: 5.586 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03415/1.023, allocations: 6.448 MB / 1.562 GB, free: 15.12 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/1.024, allocations: 80.89 kB / 1.562 GB, free: 15.05 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03421/1.058, allocations: 7.069 MB / 1.569 GB, free: 7.957 MB / 1.264 GB Notification: Performance of pre-optimization done (n=115): time 4.318e-06/1.058, allocations: 0 / 1.569 GB, free: 7.957 MB / 1.264 GB Notification: Performance of matching and sorting (n=115): time 0.09963/1.158, allocations: 18.88 MB / 1.587 GB, free: 5.039 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/1.158, allocations: 196.9 kB / 1.588 GB, free: 4.805 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.159, allocations: 0.8414 MB / 1.588 GB, free: 3.953 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006474/1.16, allocations: 49.7 kB / 1.588 GB, free: 3.898 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/1.16, allocations: 0.5521 MB / 1.589 GB, free: 3.34 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/1.161, allocations: 396.7 kB / 1.589 GB, free: 2.949 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/1.162, allocations: 358.5 kB / 1.59 GB, free: 2.594 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.162, allocations: 349.9 kB / 1.59 GB, free: 2.246 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03214/1.195, allocations: 6.556 MB / 1.596 GB, free: 11.68 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03254/1.227, allocations: 6.694 MB / 1.603 GB, free: 4.945 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8655/2.093, allocations: 11.2 MB / 1.614 GB, free: 280.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/2.093, allocations: 3.25 kB / 1.614 GB, free: 280.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06841/2.161, allocations: 12.63 MB / 1.626 GB, free: 278.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/2.161, allocations: 13.23 kB / 1.626 GB, free: 278.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/2.161, allocations: 2.062 kB / 1.626 GB, free: 278.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/2.162, allocations: 85.88 kB / 1.626 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.018/2.18, allocations: 2.67 MB / 1.629 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/2.182, allocations: 1.547 MB / 1.63 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/2.2, allocations: 2.461 MB / 1.633 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000592/2.2, allocations: 99.28 kB / 1.633 GB, free: 274.4 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.001178/2.201, allocations: 348.7 kB / 1.633 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/2.202, allocations: 121.7 kB / 1.633 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06311/2.265, allocations: 13.19 MB / 1.646 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/2.265, allocations: 13.66 kB / 1.646 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.265, allocations: 3.938 kB / 1.646 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/2.265, allocations: 11.97 kB / 1.646 GB, free: 267.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/2.268, allocations: 2.444 MB / 1.649 GB, free: 264.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.268, allocations: 2.25 kB / 1.649 GB, free: 264.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01665/2.284, allocations: 2.656 MB / 1.651 GB, free: 262.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/2.285, allocations: 72.73 kB / 1.651 GB, free: 262.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005875/2.286, allocations: 95.8 kB / 1.651 GB, free: 262.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/2.287, allocations: 1.574 MB / 1.653 GB, free: 260.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.287, allocations: 0 / 1.653 GB, free: 260.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06068/2.348, allocations: 12.57 MB / 1.665 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/2.35, allocations: 0.7366 MB / 1.666 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/2.351, allocations: 30.11 kB / 1.666 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01612/2.367, allocations: 2.405 MB / 1.668 GB, free: 244.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/2.367, allocations: 101.1 kB / 1.668 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004665/2.367, allocations: 111.7 kB / 1.669 GB, free: 244.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007683/2.368, allocations: 0.5968 MB / 1.669 GB, free: 243.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/2.368, allocations: 0 / 1.669 GB, free: 243.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002073/2.37, allocations: 0.7482 MB / 1.67 GB, free: 243.2 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.06249/2.433, allocations: 13.68 MB / 1.683 GB, free: 229.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06143/2.494, allocations: 13.38 MB / 1.696 GB, free: 216.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.494, allocations: 7.609 kB / 1.696 GB, free: 216.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03048/2.525, allocations: 6.755 MB / 1.703 GB, free: 209.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/2.526, allocations: 355.2 kB / 1.703 GB, free: 209.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1911/2.718, allocations: 45.41 MB / 1.748 GB, free: 163.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/2.718, allocations: 1.197 MB / 1.749 GB, free: 162.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003459/2.722, allocations: 0.7395 MB / 1.749 GB, free: 161.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/2.724, allocations: 0.7003 MB / 1.75 GB, free: 160.9 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/2.724, allocations: 0 / 1.75 GB, free: 160.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0931/2.817, allocations: 52.48 MB / 1.801 GB, free: 108.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/18.99, allocations: 6.219 kB / 1.801 GB, free: 108.6 MB / 1.295 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.415850274031982]