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.001553/0.001553, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001795/0.001795, allocations: 218.1 kB / 22.25 MB, free: 5.258 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.781 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.196/3.196, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.001998/0.001998, allocations: 66.59 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4134, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009296/0.4227, allocations: 5.908 MB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.6078, allocations: 134 MB / 1.462 GB, free: 5.066 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.6094, allocations: 27.75 kB / 1.462 GB, free: 5.039 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008457/0.6102, allocations: 249.7 kB / 1.463 GB, free: 4.793 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.613, allocations: 0.7302 MB / 1.463 GB, free: 4.062 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.6159, allocations: 1.073 MB / 1.464 GB, free: 2.996 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003031/0.6189, allocations: 2.169 MB / 1.467 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.6201, allocations: 0.6329 MB / 1.467 GB, free: 152 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.6215, allocations: 0.8255 MB / 1.468 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.6226, allocations: 0.8677 MB / 1.469 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.6229, allocations: 212 kB / 1.469 GB, free: 14.24 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.6244, allocations: 0.7455 MB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.6248, allocations: 494.6 kB / 1.47 GB, free: 13.01 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.6256, allocations: 0.739 MB / 1.471 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.6289, allocations: 2.701 MB / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6289, allocations: 0 / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6289, allocations: 0 / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.185e-05/0.6289, allocations: 0 / 1.474 GB, free: 9.559 MB / 1.17 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.004061/0.633, allocations: 1.976 MB / 1.476 GB, free: 7.543 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.633, allocations: 12.03 kB / 1.476 GB, free: 7.531 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/0.6333, allocations: 211 kB / 1.476 GB, free: 7.316 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1143/0.7476, allocations: 15.49 MB / 1.491 GB, free: 7.801 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.7511, allocations: 1.35 MB / 1.492 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.7512, allocations: 114.7 kB / 1.492 GB, free: 6.309 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006589/0.7519, allocations: 132 kB / 1.492 GB, free: 6.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/0.7892, allocations: 8.3 MB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.7892, allocations: 0 / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.7896, allocations: 59.98 kB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.7897, allocations: 32 kB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06841/0.8581, allocations: 14.09 MB / 1.514 GB, free: 15.55 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.9037, allocations: 10.03 MB / 1.524 GB, free: 5.43 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0401/0.9438, allocations: 8.205 MB / 1.532 GB, free: 13.21 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0324/0.9762, allocations: 6.448 MB / 1.538 GB, free: 6.746 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.9766, allocations: 72.92 kB / 1.539 GB, free: 6.676 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03364/1.01, allocations: 7.158 MB / 1.546 GB, free: 15.47 MB / 1.248 GB Notification: Performance of pre-optimization done (n=115): time 4.117e-06/1.01, allocations: 0 / 1.546 GB, free: 15.47 MB / 1.248 GB Notification: Performance of matching and sorting (n=115): time 0.09778/1.108, allocations: 18.89 MB / 1.564 GB, free: 12.55 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.108, allocations: 196.9 kB / 1.564 GB, free: 12.31 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.109, allocations: 0.8375 MB / 1.565 GB, free: 11.46 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006273/1.11, allocations: 45.7 kB / 1.565 GB, free: 11.41 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/1.111, allocations: 0.5677 MB / 1.566 GB, free: 10.84 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/1.111, allocations: 388.7 kB / 1.566 GB, free: 10.46 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/1.113, allocations: 366.5 kB / 1.566 GB, free: 10.09 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.113, allocations: 349.9 kB / 1.567 GB, free: 9.746 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03243/1.145, allocations: 6.549 MB / 1.573 GB, free: 3.188 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.033/1.178, allocations: 6.874 MB / 1.58 GB, free: 12.23 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05985/1.238, allocations: 11.21 MB / 1.591 GB, free: 0.9961 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.238, allocations: 3.938 kB / 1.591 GB, free: 0.9922 MB / 1.279 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06335/1.301, allocations: 12.63 MB / 1.603 GB, free: 4.336 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.301, allocations: 4 kB / 1.603 GB, free: 4.332 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.301, allocations: 4 kB / 1.603 GB, free: 4.328 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.302, allocations: 88.77 kB / 1.603 GB, free: 4.238 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01827/1.32, allocations: 2.675 MB / 1.606 GB, free: 1.559 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8852/2.205, allocations: 1.529 MB / 1.607 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02013/2.226, allocations: 2.456 MB / 1.61 GB, free: 280 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/2.226, allocations: 99.56 kB / 1.61 GB, free: 280 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.001377/2.228, allocations: 346.2 kB / 1.61 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000665/2.228, allocations: 119.6 kB / 1.61 GB, free: 279.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06951/2.298, allocations: 13.19 MB / 1.623 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/2.298, allocations: 16.03 kB / 1.623 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/2.298, allocations: 5.375 kB / 1.623 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/2.298, allocations: 7.781 kB / 1.623 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/2.301, allocations: 1.572 MB / 1.625 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/2.301, allocations: 4.406 kB / 1.625 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01808/2.319, allocations: 2.658 MB / 1.627 GB, free: 277.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/2.32, allocations: 71.64 kB / 1.627 GB, free: 277.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006382/2.32, allocations: 101.4 kB / 1.627 GB, free: 277.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/2.322, allocations: 1.557 MB / 1.629 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/2.322, allocations: 4.062 kB / 1.629 GB, free: 275.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06326/2.385, allocations: 12.57 MB / 1.641 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/2.388, allocations: 0.733 MB / 1.642 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/2.388, allocations: 30.81 kB / 1.642 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01672/2.405, allocations: 2.398 MB / 1.644 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/2.405, allocations: 107.7 kB / 1.644 GB, free: 267.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004993/2.406, allocations: 105.7 kB / 1.644 GB, free: 267.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007583/2.406, allocations: 0.5969 MB / 1.645 GB, free: 266.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.406, allocations: 3.062 kB / 1.645 GB, free: 266.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002343/2.409, allocations: 0.7562 MB / 1.646 GB, free: 266.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.06203/2.471, allocations: 13.71 MB / 1.659 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06028/2.531, allocations: 13.38 MB / 1.672 GB, free: 239.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.531, allocations: 0 / 1.672 GB, free: 239.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03/2.561, allocations: 6.756 MB / 1.679 GB, free: 232.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/2.563, allocations: 365.5 kB / 1.679 GB, free: 232.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1866/2.75, allocations: 45.41 MB / 1.724 GB, free: 186.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/2.75, allocations: 0.6213 MB / 1.724 GB, free: 186 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003427/2.753, allocations: 0.7394 MB / 1.725 GB, free: 185.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/2.755, allocations: 0.6863 MB / 1.726 GB, free: 184.6 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/2.755, allocations: 0 / 1.726 GB, free: 184.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/2.84, allocations: 55.71 MB / 1.78 GB, free: 129.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/17.64, allocations: 4 kB / 1.78 GB, free: 129.2 MB / 1.295 GB " [Timeout remaining time 282] (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: 24.626409660006175]