Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001244/0.001244, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001441/0.001441, allocations: 211 kB / 20.13 MB, free: 2.969 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.431/1.431, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.897/2.897, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_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.002128/0.002128, allocations: 71.84 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.7981, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.006067/0.8042, allocations: 6.118 MB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.9928, allocations: 155.3 MB / 1.498 GB, free: 6.258 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.9942, allocations: 25.44 kB / 1.498 GB, free: 6.246 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.9952, allocations: 233.2 kB / 1.498 GB, free: 6.039 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.998, allocations: 0.6947 MB / 1.499 GB, free: 5.504 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/1.001, allocations: 1.025 MB / 1.5 GB, free: 4.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002607/1.003, allocations: 1.98 MB / 1.502 GB, free: 2.777 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/1.004, allocations: 0.5663 MB / 1.502 GB, free: 2.176 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/1.006, allocations: 0.7399 MB / 1.503 GB, free: 1.434 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/1.007, allocations: 0.7899 MB / 1.504 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004596/1.008, allocations: 172 kB / 1.504 GB, free: 484 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/1.01, allocations: 0.722 MB / 1.505 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005988/1.01, allocations: 446.6 kB / 1.505 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.012, allocations: 0.8047 MB / 1.506 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/1.016, allocations: 2.351 MB / 1.508 GB, free: 12.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.016, allocations: 0 / 1.508 GB, free: 12.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.403e-06/1.016, allocations: 4 kB / 1.508 GB, free: 12.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.573e-05/1.016, allocations: 0 / 1.508 GB, free: 12.14 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003939/1.02, allocations: 1.916 MB / 1.51 GB, free: 10.17 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.02, allocations: 12.62 kB / 1.51 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.402e-05/1.02, allocations: 30.66 kB / 1.51 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/1.02, allocations: 194 kB / 1.51 GB, free: 9.926 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1167/1.137, allocations: 16.09 MB / 1.526 GB, free: 9.812 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/1.14, allocations: 1.258 MB / 1.527 GB, free: 8.508 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/1.14, allocations: 90.47 kB / 1.527 GB, free: 8.418 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/1.14, allocations: 124 kB / 1.527 GB, free: 8.297 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/1.179, allocations: 7.97 MB / 1.535 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/1.179, allocations: 0 / 1.535 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006613/1.18, allocations: 52 kB / 1.535 GB, free: 208 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/1.18, allocations: 32 kB / 1.535 GB, free: 176 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07342/1.254, allocations: 14.04 MB / 1.549 GB, free: 2.105 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04507/1.299, allocations: 10.37 MB / 1.559 GB, free: 7.551 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06206/1.361, allocations: 9.942 MB / 1.569 GB, free: 13.59 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03511/1.396, allocations: 6.386 MB / 1.575 GB, free: 7.199 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/1.396, allocations: 0.5984 MB / 1.576 GB, free: 6.473 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03613/1.433, allocations: 7.029 MB / 1.582 GB, free: 15.41 MB / 1.264 GB Notification: Performance of pre-optimization done (n=113): time 3.015e-06/1.433, allocations: 0 / 1.582 GB, free: 15.41 MB / 1.264 GB Notification: Performance of matching and sorting (n=113): time 0.1064/1.539, allocations: 18.85 MB / 1.601 GB, free: 12.51 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.539, allocations: 196.9 kB / 1.601 GB, free: 12.27 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.54, allocations: 0.7903 MB / 1.602 GB, free: 11.46 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005115/1.541, allocations: 49.64 kB / 1.602 GB, free: 11.41 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/1.541, allocations: 0.5131 MB / 1.602 GB, free: 10.89 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007684/1.542, allocations: 384.7 kB / 1.603 GB, free: 10.51 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/1.543, allocations: 366.5 kB / 1.603 GB, free: 10.15 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.544, allocations: 353.9 kB / 1.603 GB, free: 9.797 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03612/1.58, allocations: 6.525 MB / 1.61 GB, free: 3.262 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03588/1.616, allocations: 6.675 MB / 1.616 GB, free: 12.55 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06607/1.682, allocations: 11.28 MB / 1.627 GB, free: 1.242 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/1.682, allocations: 0 / 1.627 GB, free: 1.242 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.07236/1.754, allocations: 12.66 MB / 1.64 GB, free: 4.551 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.754, allocations: 9.703 kB / 1.64 GB, free: 4.543 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.754, allocations: 0 / 1.64 GB, free: 4.543 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/1.755, allocations: 84.84 kB / 1.64 GB, free: 4.457 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01954/1.774, allocations: 2.757 MB / 1.642 GB, free: 1.695 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/1.777, allocations: 1.639 MB / 1.644 GB, free: 15.91 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01904/1.796, allocations: 2.538 MB / 1.647 GB, free: 13.37 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006753/1.796, allocations: 111.7 kB / 1.647 GB, free: 13.26 MB / 1.326 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.001384/1.798, allocations: 313.1 kB / 1.647 GB, free: 12.95 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000755/1.798, allocations: 119.4 kB / 1.647 GB, free: 12.83 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07343/1.872, allocations: 13.31 MB / 1.66 GB, free: 15.48 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.872, allocations: 12 kB / 1.66 GB, free: 15.47 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.872, allocations: 3.938 kB / 1.66 GB, free: 15.46 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/1.872, allocations: 7.969 kB / 1.66 GB, free: 15.46 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.875, allocations: 1.996 MB / 1.662 GB, free: 13.41 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.875, allocations: 4 kB / 1.662 GB, free: 13.4 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01934/1.895, allocations: 2.745 MB / 1.665 GB, free: 10.65 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/1.895, allocations: 72.78 kB / 1.665 GB, free: 10.58 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006855/1.896, allocations: 99.78 kB / 1.665 GB, free: 10.48 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/1.898, allocations: 1.659 MB / 1.666 GB, free: 8.676 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.898, allocations: 3.938 kB / 1.666 GB, free: 8.672 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07188/1.97, allocations: 12.52 MB / 1.679 GB, free: 12.11 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.972, allocations: 0.6985 MB / 1.679 GB, free: 11.39 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007028/1.972, allocations: 24 kB / 1.679 GB, free: 11.37 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01905/1.991, allocations: 2.49 MB / 1.682 GB, free: 8.879 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.992, allocations: 89.19 kB / 1.682 GB, free: 8.793 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005718/1.992, allocations: 111.8 kB / 1.682 GB, free: 8.684 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001003/1.993, allocations: 0.5654 MB / 1.683 GB, free: 8.125 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.61e-07/1.993, allocations: 3.938 kB / 1.683 GB, free: 8.121 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.002603/1.996, allocations: 0.7254 MB / 1.683 GB, free: 7.395 MB / 1.357 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 (132): * Single equations (assignments): 125 * 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.07408/2.07, allocations: 13.61 MB / 1.697 GB, free: 9.91 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.0722/2.142, allocations: 13.3 MB / 1.71 GB, free: 12.59 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/2.142, allocations: 4 kB / 1.71 GB, free: 12.58 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.03689/2.179, allocations: 6.688 MB / 1.716 GB, free: 5.871 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/2.181, allocations: 334 kB / 1.716 GB, free: 5.559 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2282/2.409, allocations: 44.83 MB / 1.76 GB, free: 8.523 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/2.41, allocations: 1.159 MB / 1.761 GB, free: 7.336 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.004182/2.415, allocations: 0.8169 MB / 1.762 GB, free: 6.516 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/2.417, allocations: 0.6434 MB / 1.763 GB, free: 5.871 MB / 1.436 GB Notification: Performance of SimCode: time 1.032e-06/2.417, allocations: 0 / 1.763 GB, free: 5.871 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/2.519, allocations: 49 MB / 1.811 GB, free: 5.098 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/17.06, allocations: 9.906 kB / 1.811 GB, free: 5.094 MB / 1.482 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.561712815018836]