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.001705/0.001705, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00212/0.00212, allocations: 214.3 kB / 23.03 MB, free: 4.949 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.212/3.212, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",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.001974/0.001974, allocations: 68.58 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.377, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009529/0.3866, allocations: 5.897 MB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1826/0.5691, allocations: 133.9 MB / 1.463 GB, free: 5.215 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.5706, allocations: 31.75 kB / 1.463 GB, free: 5.184 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5717, allocations: 253.6 kB / 1.463 GB, free: 4.934 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.5749, allocations: 0.7396 MB / 1.464 GB, free: 4.195 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.578, allocations: 1.06 MB / 1.465 GB, free: 3.141 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003652/0.5816, allocations: 2.169 MB / 1.467 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.5831, allocations: 0.6367 MB / 1.468 GB, free: 300 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.5847, allocations: 0.8295 MB / 1.469 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.5863, allocations: 0.8638 MB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000591/0.5869, allocations: 208 kB / 1.47 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.5888, allocations: 0.7378 MB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.5895, allocations: 0.4946 MB / 1.471 GB, free: 13.16 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.5908, allocations: 0.7389 MB / 1.472 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.5947, allocations: 2.701 MB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5947, allocations: 0 / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5947, allocations: 0 / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.429e-05/0.5947, allocations: 0 / 1.474 GB, free: 9.703 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.004391/0.5991, allocations: 1.967 MB / 1.476 GB, free: 7.695 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5992, allocations: 12.03 kB / 1.476 GB, free: 7.684 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.106e-05/0.5992, allocations: 34.94 kB / 1.476 GB, free: 7.648 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/0.5995, allocations: 211 kB / 1.476 GB, free: 7.434 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1106/0.7101, allocations: 15.49 MB / 1.492 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.7134, allocations: 1.358 MB / 1.493 GB, free: 6.527 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.7136, allocations: 106.8 kB / 1.493 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008469/0.7144, allocations: 132 kB / 1.493 GB, free: 6.293 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03973/0.7541, allocations: 8.304 MB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.7542, allocations: 4 kB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006444/0.7548, allocations: 56 kB / 1.501 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.7549, allocations: 32 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07071/0.8256, allocations: 14.14 MB / 1.515 GB, free: 15.6 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04735/0.8729, allocations: 10.02 MB / 1.525 GB, free: 5.496 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04145/0.9144, allocations: 8.209 MB / 1.533 GB, free: 13.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03296/0.9473, allocations: 6.452 MB / 1.539 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004156/0.9478, allocations: 72.94 kB / 1.539 GB, free: 6.738 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03486/0.9826, allocations: 7.158 MB / 1.546 GB, free: 15.52 MB / 1.248 GB Notification: Performance of pre-optimization done (n=115): time 4.328e-06/0.9826, allocations: 0 / 1.546 GB, free: 15.52 MB / 1.248 GB Notification: Performance of matching and sorting (n=115): time 0.09987/1.082, allocations: 18.89 MB / 1.565 GB, free: 12.6 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/1.083, allocations: 192.9 kB / 1.565 GB, free: 12.37 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.084, allocations: 0.8414 MB / 1.566 GB, free: 11.51 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006933/1.085, allocations: 53.62 kB / 1.566 GB, free: 11.45 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/1.086, allocations: 0.5599 MB / 1.566 GB, free: 10.89 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.087, allocations: 391.2 kB / 1.567 GB, free: 10.5 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002069/1.089, allocations: 354.5 kB / 1.567 GB, free: 10.15 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002943/1.089, allocations: 349.9 kB / 1.567 GB, free: 9.805 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03287/1.122, allocations: 6.549 MB / 1.574 GB, free: 3.246 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03316/1.155, allocations: 6.878 MB / 1.58 GB, free: 12.28 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05881/1.214, allocations: 11.2 MB / 1.591 GB, free: 1.055 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.214, allocations: 0 / 1.591 GB, free: 1.055 MB / 1.279 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06474/1.279, allocations: 12.63 MB / 1.604 GB, free: 4.395 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.279, allocations: 4 kB / 1.604 GB, free: 4.391 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.279, allocations: 0 / 1.604 GB, free: 4.391 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/1.28, allocations: 92.73 kB / 1.604 GB, free: 4.297 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/1.298, allocations: 2.667 MB / 1.606 GB, free: 1.625 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6696/1.968, allocations: 1.543 MB / 1.608 GB, free: 281 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01909/1.987, allocations: 2.463 MB / 1.61 GB, free: 281 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007026/1.988, allocations: 103.8 kB / 1.61 GB, free: 281 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.001276/1.989, allocations: 345.3 kB / 1.611 GB, free: 280.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/1.989, allocations: 114.9 kB / 1.611 GB, free: 280.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06777/2.057, allocations: 13.2 MB / 1.624 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/2.057, allocations: 16.94 kB / 1.624 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.057, allocations: 3.125 kB / 1.624 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/2.057, allocations: 8.25 kB / 1.624 GB, free: 279.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/2.06, allocations: 1.571 MB / 1.625 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/2.06, allocations: 5.031 kB / 1.625 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01727/2.077, allocations: 2.654 MB / 1.628 GB, free: 277.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/2.078, allocations: 76.77 kB / 1.628 GB, free: 277.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000675/2.078, allocations: 97.64 kB / 1.628 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/2.08, allocations: 1.554 MB / 1.63 GB, free: 276 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/2.08, allocations: 0 / 1.63 GB, free: 276 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06275/2.143, allocations: 12.57 MB / 1.642 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/2.145, allocations: 0.7348 MB / 1.643 GB, free: 269 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005663/2.145, allocations: 31.64 kB / 1.643 GB, free: 269 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01622/2.162, allocations: 2.409 MB / 1.645 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/2.162, allocations: 100.3 kB / 1.645 GB, free: 267.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005624/2.162, allocations: 105 kB / 1.645 GB, free: 267.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000853/2.163, allocations: 0.5929 MB / 1.646 GB, free: 267.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/2.163, allocations: 0 / 1.646 GB, free: 267.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002327/2.166, allocations: 0.7606 MB / 1.647 GB, free: 266.4 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.06183/2.227, allocations: 13.71 MB / 1.66 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06033/2.288, allocations: 13.38 MB / 1.673 GB, free: 239.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.288, allocations: 0 / 1.673 GB, free: 239.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0307/2.318, allocations: 6.766 MB / 1.68 GB, free: 232.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/2.321, allocations: 352.6 kB / 1.68 GB, free: 232.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1884/2.509, allocations: 45.42 MB / 1.724 GB, free: 186.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/2.51, allocations: 0.6095 MB / 1.725 GB, free: 186.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004554/2.515, allocations: 0.7472 MB / 1.726 GB, free: 185.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/2.517, allocations: 0.6855 MB / 1.726 GB, free: 184.7 MB / 1.295 GB Notification: Performance of SimCode: time 2.335e-06/2.517, allocations: 0 / 1.726 GB, free: 184.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0917/2.609, allocations: 55.13 MB / 1.78 GB, free: 130 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.07/19.68, allocations: 17.34 kB / 1.78 GB, free: 130 MB / 1.295 GB " [Timeout remaining time 280] (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: 27.11648885894101]