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.001275/0.001275, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001392/0.001392, allocations: 218.4 kB / 22.26 MB, free: 5.125 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.961 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 2.967/2.967, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_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.001851/0.001851, allocations: 68.91 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3184, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008794/0.3272, allocations: 6.689 MB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.5061, allocations: 155.6 MB / 1.511 GB, free: 5.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.5073, allocations: 23.81 kB / 1.511 GB, free: 5.566 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.5083, allocations: 253.6 kB / 1.512 GB, free: 5.316 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.511, allocations: 0.7265 MB / 1.512 GB, free: 4.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.5138, allocations: 1.079 MB / 1.513 GB, free: 3.516 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002959/0.5167, allocations: 2.18 MB / 1.515 GB, free: 1.328 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.518, allocations: 0.629 MB / 1.516 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.5195, allocations: 0.8295 MB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.521, allocations: 0.8677 MB / 1.518 GB, free: 14.96 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/0.5213, allocations: 208 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.5229, allocations: 0.7572 MB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.5233, allocations: 490.6 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009306/0.5243, allocations: 0.9098 MB / 1.52 GB, free: 12.6 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.5275, allocations: 2.686 MB / 1.523 GB, free: 9.906 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5275, allocations: 4 kB / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5275, allocations: 0 / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.431e-05/0.5275, allocations: 0 / 1.523 GB, free: 9.902 MB / 1.217 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.003996/0.5315, allocations: 1.982 MB / 1.525 GB, free: 7.879 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5316, allocations: 8.031 kB / 1.525 GB, free: 7.871 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002524/0.5318, allocations: 207 kB / 1.525 GB, free: 7.66 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1125/0.6443, allocations: 16.1 MB / 1.54 GB, free: 7.535 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.6475, allocations: 1.378 MB / 1.542 GB, free: 6.125 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.6476, allocations: 106.8 kB / 1.542 GB, free: 6.02 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.6481, allocations: 132 kB / 1.542 GB, free: 5.891 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03694/0.685, allocations: 8.338 MB / 1.55 GB, free: 13.48 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.685, allocations: 4 kB / 1.55 GB, free: 13.48 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.6853, allocations: 59.98 kB / 1.55 GB, free: 13.42 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.6854, allocations: 32 kB / 1.55 GB, free: 13.39 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06703/0.7524, allocations: 14.62 MB / 1.565 GB, free: 14.75 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.7973, allocations: 12.07 MB / 1.576 GB, free: 2.465 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05856/0.8558, allocations: 10.35 MB / 1.586 GB, free: 8.098 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03227/0.8881, allocations: 6.699 MB / 1.593 GB, free: 1.391 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.8884, allocations: 76.89 kB / 1.593 GB, free: 1.316 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03395/0.9224, allocations: 7.34 MB / 1.6 GB, free: 9.945 MB / 1.295 GB Notification: Performance of pre-optimization done (n=115): time 3.226e-06/0.9224, allocations: 0 / 1.6 GB, free: 9.945 MB / 1.295 GB Notification: Performance of matching and sorting (n=115): time 0.664/1.586, allocations: 19.57 MB / 1.619 GB, free: 255.4 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.586, allocations: 194.3 kB / 1.62 GB, free: 255.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/1.588, allocations: 0.8402 MB / 1.62 GB, free: 254.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004339/1.588, allocations: 49.7 kB / 1.62 GB, free: 254.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/1.588, allocations: 0.5599 MB / 1.621 GB, free: 254.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004485/1.589, allocations: 394.6 kB / 1.621 GB, free: 254.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000981/1.59, allocations: 366.9 kB / 1.622 GB, free: 254.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/1.59, allocations: 353.7 kB / 1.622 GB, free: 253.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0333/1.623, allocations: 6.794 MB / 1.629 GB, free: 252.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03176/1.655, allocations: 6.943 MB / 1.635 GB, free: 250.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05841/1.713, allocations: 11.59 MB / 1.647 GB, free: 244.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/1.713, allocations: 1.812 kB / 1.647 GB, free: 244.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06166/1.775, allocations: 13.08 MB / 1.66 GB, free: 235.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.775, allocations: 12 kB / 1.66 GB, free: 235.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.775, allocations: 0 / 1.66 GB, free: 235.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/1.776, allocations: 85.7 kB / 1.66 GB, free: 235.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01782/1.794, allocations: 2.762 MB / 1.662 GB, free: 232.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/1.795, allocations: 1.548 MB / 1.664 GB, free: 230.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01721/1.812, allocations: 2.541 MB / 1.666 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005016/1.813, allocations: 107.8 kB / 1.666 GB, free: 228.2 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.0009845/1.814, allocations: 348.4 kB / 1.667 GB, free: 227.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/1.814, allocations: 119.2 kB / 1.667 GB, free: 227.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06265/1.877, allocations: 13.79 MB / 1.68 GB, free: 213.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.877, allocations: 17.12 kB / 1.68 GB, free: 213.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.877, allocations: 0 / 1.68 GB, free: 213.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.877, allocations: 11.91 kB / 1.68 GB, free: 213.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/1.879, allocations: 2.605 MB / 1.683 GB, free: 211.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.879, allocations: 0 / 1.683 GB, free: 211.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01785/1.897, allocations: 2.749 MB / 1.686 GB, free: 208.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/1.898, allocations: 72.78 kB / 1.686 GB, free: 208.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005353/1.898, allocations: 111.6 kB / 1.686 GB, free: 208.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/1.9, allocations: 1.568 MB / 1.687 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.9, allocations: 0 / 1.687 GB, free: 206.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06008/1.96, allocations: 13.01 MB / 1.7 GB, free: 193.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.962, allocations: 0.7559 MB / 1.701 GB, free: 192.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005401/1.962, allocations: 33.62 kB / 1.701 GB, free: 192.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01701/1.979, allocations: 2.484 MB / 1.703 GB, free: 190.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.98, allocations: 101.1 kB / 1.703 GB, free: 190.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004132/1.98, allocations: 115.8 kB / 1.703 GB, free: 190.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006541/1.981, allocations: 0.5968 MB / 1.704 GB, free: 189.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.981, allocations: 0 / 1.704 GB, free: 189.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00178/1.982, allocations: 0.7464 MB / 1.705 GB, free: 188.9 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.06353/2.046, allocations: 14.11 MB / 1.719 GB, free: 174.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06183/2.108, allocations: 13.86 MB / 1.732 GB, free: 161 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/2.108, allocations: 0 / 1.732 GB, free: 161 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.02979/2.138, allocations: 7.001 MB / 1.739 GB, free: 154 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/2.139, allocations: 354.7 kB / 1.739 GB, free: 153.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1829/2.322, allocations: 46.85 MB / 1.785 GB, free: 106.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/2.323, allocations: 1.201 MB / 1.786 GB, free: 105.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003383/2.326, allocations: 0.8173 MB / 1.787 GB, free: 104.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/2.328, allocations: 0.6942 MB / 1.788 GB, free: 103.9 MB / 1.295 GB Notification: Performance of SimCode: time 7.61e-07/2.328, allocations: 2.078 kB / 1.788 GB, free: 103.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08011/2.408, allocations: 54.06 MB / 1.84 GB, free: 49.95 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/16.64, allocations: 3.984 kB / 1.84 GB, free: 49.94 MB / 1.295 GB " [Timeout remaining time 283] (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: 22.9890778218396]