Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, allocations: 97.31 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.001506/0.001506, allocations: 219.2 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.122/3.122, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_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.002621/0.002621, allocations: 70.53 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3625, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009515/0.3721, allocations: 5.872 MB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.5447, allocations: 133.9 MB / 1.482 GB, free: 3.641 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.5462, allocations: 31.75 kB / 1.482 GB, free: 3.609 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000999/0.5472, allocations: 257.6 kB / 1.482 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.5501, allocations: 0.7267 MB / 1.483 GB, free: 2.629 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.553, allocations: 1.062 MB / 1.484 GB, free: 1.574 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.5559, allocations: 2.173 MB / 1.486 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.5571, allocations: 0.6406 MB / 1.487 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.5584, allocations: 0.8216 MB / 1.487 GB, free: 13.89 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.5595, allocations: 0.8755 MB / 1.488 GB, free: 13.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.5599, allocations: 212 kB / 1.488 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.5616, allocations: 0.7338 MB / 1.489 GB, free: 12.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.5621, allocations: 494.6 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008941/0.563, allocations: 0.7428 MB / 1.49 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003916/0.5669, allocations: 2.693 MB / 1.493 GB, free: 8.141 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.5669, allocations: 4 kB / 1.493 GB, free: 8.137 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5669, allocations: 0 / 1.493 GB, free: 8.137 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.244e-05/0.567, allocations: 0 / 1.493 GB, free: 8.137 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.004397/0.5714, allocations: 1.975 MB / 1.495 GB, free: 6.121 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5714, allocations: 8.031 kB / 1.495 GB, free: 6.113 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.727e-05/0.5714, allocations: 34.94 kB / 1.495 GB, free: 6.078 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002556/0.5717, allocations: 211 kB / 1.495 GB, free: 5.863 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1104/0.6821, allocations: 16.1 MB / 1.511 GB, free: 5.734 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.6855, allocations: 1.381 MB / 1.512 GB, free: 4.324 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.6856, allocations: 102.8 kB / 1.512 GB, free: 4.223 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005483/0.6861, allocations: 136 kB / 1.512 GB, free: 4.09 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03699/0.7231, allocations: 8.589 MB / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.7232, allocations: 0 / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.7235, allocations: 56 kB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.7235, allocations: 36 kB / 1.521 GB, free: 11.28 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07023/0.7938, allocations: 14.62 MB / 1.535 GB, free: 12.64 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/0.8396, allocations: 10.42 MB / 1.545 GB, free: 2.137 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06066/0.9002, allocations: 10.34 MB / 1.555 GB, free: 7.781 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0335/0.9337, allocations: 6.694 MB / 1.562 GB, free: 1.07 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.9341, allocations: 64.94 kB / 1.562 GB, free: 1.008 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03472/0.9689, allocations: 7.442 MB / 1.569 GB, free: 9.516 MB / 1.264 GB Notification: Performance of pre-optimization done (n=115): time 5.75e-06/0.9689, allocations: 0 / 1.569 GB, free: 9.516 MB / 1.264 GB Notification: Performance of matching and sorting (n=115): time 0.09883/1.068, allocations: 19.57 MB / 1.588 GB, free: 5.906 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.068, allocations: 204.8 kB / 1.589 GB, free: 5.664 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.069, allocations: 0.8375 MB / 1.589 GB, free: 4.816 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006522/1.07, allocations: 49.7 kB / 1.589 GB, free: 4.762 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/1.071, allocations: 0.5599 MB / 1.59 GB, free: 4.195 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009682/1.072, allocations: 388.7 kB / 1.59 GB, free: 3.812 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/1.073, allocations: 378.4 kB / 1.591 GB, free: 3.434 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.073, allocations: 345.9 kB / 1.591 GB, free: 3.09 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03374/1.107, allocations: 6.791 MB / 1.598 GB, free: 12.29 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03422/1.141, allocations: 7.124 MB / 1.605 GB, free: 5.082 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.767/1.908, allocations: 11.59 MB / 1.616 GB, free: 263.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.908, allocations: 4.406 kB / 1.616 GB, free: 263.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06698/1.975, allocations: 13.07 MB / 1.629 GB, free: 261.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.975, allocations: 5.625 kB / 1.629 GB, free: 261.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.975, allocations: 1.5 kB / 1.629 GB, free: 261.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/1.976, allocations: 92.77 kB / 1.629 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01809/1.994, allocations: 2.767 MB / 1.632 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/1.996, allocations: 1.535 MB / 1.633 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01786/2.014, allocations: 2.539 MB / 1.636 GB, free: 257.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007885/2.015, allocations: 113.1 kB / 1.636 GB, free: 257.6 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/2.016, allocations: 348.3 kB / 1.636 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006403/2.017, allocations: 114.8 kB / 1.636 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06459/2.081, allocations: 13.8 MB / 1.65 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/2.081, allocations: 15.06 kB / 1.65 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/2.081, allocations: 7.438 kB / 1.65 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/2.081, allocations: 7.969 kB / 1.65 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/2.083, allocations: 1.695 MB / 1.651 GB, free: 248.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/2.083, allocations: 0 / 1.651 GB, free: 248.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01706/2.1, allocations: 2.745 MB / 1.654 GB, free: 246.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/2.101, allocations: 76.78 kB / 1.654 GB, free: 246.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007828/2.102, allocations: 95.8 kB / 1.654 GB, free: 246 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/2.103, allocations: 1.563 MB / 1.656 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.103, allocations: 0 / 1.656 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05889/2.162, allocations: 13.01 MB / 1.668 GB, free: 231.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/2.164, allocations: 0.7583 MB / 1.669 GB, free: 230.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/2.164, allocations: 27.95 kB / 1.669 GB, free: 230.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01612/2.181, allocations: 2.48 MB / 1.672 GB, free: 228 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/2.181, allocations: 105.2 kB / 1.672 GB, free: 227.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004378/2.181, allocations: 119.7 kB / 1.672 GB, free: 227.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006963/2.182, allocations: 0.5929 MB / 1.672 GB, free: 227.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.182, allocations: 7.938 kB / 1.672 GB, free: 227.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002059/2.184, allocations: 0.7437 MB / 1.673 GB, free: 226.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,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 (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.06171/2.246, allocations: 14.14 MB / 1.687 GB, free: 212.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05965/2.305, allocations: 13.86 MB / 1.7 GB, free: 198.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/2.305, allocations: 3.938 kB / 1.7 GB, free: 198.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03022/2.336, allocations: 7.005 MB / 1.707 GB, free: 191.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/2.337, allocations: 350.2 kB / 1.708 GB, free: 191.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1835/2.521, allocations: 46.87 MB / 1.753 GB, free: 144.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/2.521, allocations: 0.609 MB / 1.754 GB, free: 143.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00414/2.525, allocations: 0.8213 MB / 1.755 GB, free: 142.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/2.528, allocations: 0.6981 MB / 1.755 GB, free: 142.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.403e-06/2.528, allocations: 0 / 1.755 GB, free: 142.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/2.609, allocations: 56.88 MB / 1.811 GB, free: 85.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/18.18, allocations: 16.58 kB / 1.811 GB, free: 85.59 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.01311890105717]