Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001771/0.001771, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002373/0.002373, allocations: 215.1 kB / 23.03 MB, free: 4.922 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.453/3.453, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_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.0021/0.0021, allocations: 69.53 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4835, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.01057/0.494, allocations: 5.434 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2001/0.6941, allocations: 133.8 MB / 1.463 GB, free: 5.75 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.6961, allocations: 31.75 kB / 1.463 GB, free: 5.719 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.6975, allocations: 233.8 kB / 1.463 GB, free: 5.488 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.7017, allocations: 0.6895 MB / 1.464 GB, free: 4.801 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.706, allocations: 1.04 MB / 1.465 GB, free: 3.766 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005111/0.7112, allocations: 1.971 MB / 1.466 GB, free: 1.789 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.7137, allocations: 0.5593 MB / 1.467 GB, free: 1.188 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.7162, allocations: 0.7477 MB / 1.468 GB, free: 448 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.718, allocations: 0.7821 MB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008359/0.7189, allocations: 176 kB / 1.469 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.7215, allocations: 0.7104 MB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007513/0.7223, allocations: 442.6 kB / 1.47 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.7233, allocations: 0.6649 MB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.7276, allocations: 2.362 MB / 1.473 GB, free: 11.3 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.7276, allocations: 0 / 1.473 GB, free: 11.3 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7276, allocations: 3.938 kB / 1.473 GB, free: 11.29 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.174e-05/0.7277, allocations: 0 / 1.473 GB, free: 11.29 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004664/0.7323, allocations: 1.848 MB / 1.475 GB, free: 9.402 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 7.381e-05/0.7324, allocations: 12.03 kB / 1.475 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.104e-05/0.7325, allocations: 38.59 kB / 1.475 GB, free: 9.352 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/0.7327, allocations: 186 kB / 1.475 GB, free: 9.16 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1062/0.8389, allocations: 15.47 MB / 1.49 GB, free: 9.664 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.8421, allocations: 1.174 MB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.8422, allocations: 94.47 kB / 1.491 GB, free: 8.371 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006206/0.8428, allocations: 128 kB / 1.491 GB, free: 8.246 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/0.8781, allocations: 7.924 MB / 1.499 GB, free: 192 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.8782, allocations: 0 / 1.499 GB, free: 192 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.8785, allocations: 52 kB / 1.499 GB, free: 140 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.8786, allocations: 32 kB / 1.499 GB, free: 108 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06501/0.9436, allocations: 13.58 MB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04209/0.9857, allocations: 8.688 MB / 1.521 GB, free: 9.734 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04045/1.026, allocations: 7.841 MB / 1.528 GB, free: 1.875 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03117/1.057, allocations: 6.148 MB / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/1.058, allocations: 76.94 kB / 1.535 GB, free: 11.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03316/1.091, allocations: 6.849 MB / 1.541 GB, free: 4.734 MB / 1.232 GB Notification: Performance of pre-optimization done (n=113): time 3.687e-06/1.091, allocations: 0 / 1.541 GB, free: 4.734 MB / 1.232 GB Notification: Performance of matching and sorting (n=113): time 0.09684/1.188, allocations: 18.12 MB / 1.559 GB, free: 2.59 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.188, allocations: 192.9 kB / 1.559 GB, free: 2.359 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.189, allocations: 0.7942 MB / 1.56 GB, free: 1.555 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006154/1.19, allocations: 49.7 kB / 1.56 GB, free: 1.5 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/1.19, allocations: 0.5092 MB / 1.56 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009259/1.191, allocations: 384.8 kB / 1.561 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.193, allocations: 354.5 kB / 1.561 GB, free: 260 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.193, allocations: 349.9 kB / 1.561 GB, free: 15.91 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03179/1.225, allocations: 6.295 MB / 1.568 GB, free: 9.602 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03231/1.257, allocations: 6.624 MB / 1.574 GB, free: 2.895 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05892/1.316, allocations: 10.9 MB / 1.585 GB, free: 7.973 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.316, allocations: 0 / 1.585 GB, free: 7.973 MB / 1.279 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06377/1.38, allocations: 12.23 MB / 1.597 GB, free: 11.72 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/1.38, allocations: 4 kB / 1.597 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.38, allocations: 0 / 1.597 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006837/1.381, allocations: 84.78 kB / 1.597 GB, free: 11.63 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/1.399, allocations: 2.663 MB / 1.599 GB, free: 8.961 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/1.401, allocations: 1.535 MB / 1.601 GB, free: 7.305 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/1.419, allocations: 2.464 MB / 1.603 GB, free: 4.836 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006277/1.419, allocations: 103.8 kB / 1.603 GB, free: 4.734 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.solAzi.outsidePolarCircle,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,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 (132): * Single equations (assignments): 131 * 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.001558/1.421, allocations: 313 kB / 1.604 GB, free: 4.422 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008103/1.422, allocations: 111.4 kB / 1.604 GB, free: 4.312 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7618/2.184, allocations: 12.72 MB / 1.616 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/2.184, allocations: 15 kB / 1.616 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/2.184, allocations: 0 / 1.616 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/2.184, allocations: 7.125 kB / 1.616 GB, free: 282.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/2.186, allocations: 1.2 MB / 1.617 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/2.186, allocations: 1.953 kB / 1.617 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01959/2.205, allocations: 2.658 MB / 1.62 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005631/2.206, allocations: 70.53 kB / 1.62 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007844/2.207, allocations: 95.48 kB / 1.62 GB, free: 281.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/2.209, allocations: 1.549 MB / 1.622 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.209, allocations: 0.9375 kB / 1.622 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06118/2.27, allocations: 12.1 MB / 1.633 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/2.272, allocations: 0.5936 MB / 1.634 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/2.272, allocations: 33.14 kB / 1.634 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01598/2.288, allocations: 2.403 MB / 1.636 GB, free: 274 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/2.288, allocations: 102.2 kB / 1.636 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005262/2.289, allocations: 102.4 kB / 1.637 GB, free: 273.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009048/2.29, allocations: 0.5634 MB / 1.637 GB, free: 273.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.29, allocations: 0 / 1.637 GB, free: 273.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002529/2.292, allocations: 0.7373 MB / 1.638 GB, free: 273.5 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * 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.05906/2.351, allocations: 13.23 MB / 1.651 GB, free: 263.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05799/2.409, allocations: 12.83 MB / 1.663 GB, free: 250.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.409, allocations: 4.766 kB / 1.663 GB, free: 250.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.029/2.438, allocations: 6.455 MB / 1.67 GB, free: 243.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/2.44, allocations: 353.7 kB / 1.67 GB, free: 243.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1793/2.62, allocations: 43.44 MB / 1.712 GB, free: 199.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/2.62, allocations: 0.5689 MB / 1.713 GB, free: 199.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003201/2.623, allocations: 0.7359 MB / 1.714 GB, free: 198.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/2.625, allocations: 0.6356 MB / 1.714 GB, free: 198 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/2.625, allocations: 0 / 1.714 GB, free: 198 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/2.699, allocations: 51.56 MB / 1.765 GB, free: 146.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/18.95, allocations: 3.938 kB / 1.765 GB, free: 146.8 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 27.00493005698081]