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.001296/0.001296, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001455/0.001455, allocations: 215 kB / 20.13 MB, free: 2.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.409/1.409, 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 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 2.751/2.751, allocations: 0.49 GB / 0.7923 GB, free: 1.383 MB / 0.6231 GB " [Timeout remaining time 177] 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.001967/0.001967, allocations: 59.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.818, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005697/0.8237, allocations: 6.121 MB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1873/1.011, allocations: 155.3 MB / 1.479 GB, free: 2.332 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/1.012, allocations: 28.94 kB / 1.479 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008236/1.013, allocations: 229.3 kB / 1.479 GB, free: 2.113 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/1.016, allocations: 0.6982 MB / 1.48 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/1.018, allocations: 1.022 MB / 1.481 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002554/1.021, allocations: 1.973 MB / 1.483 GB, free: 15.58 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/1.022, allocations: 0.5671 MB / 1.484 GB, free: 15.16 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/1.023, allocations: 0.739 MB / 1.484 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/1.024, allocations: 0.7991 MB / 1.485 GB, free: 14.17 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/1.024, allocations: 173.4 kB / 1.485 GB, free: 14.17 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/1.026, allocations: 0.7171 MB / 1.486 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/1.027, allocations: 448.5 kB / 1.486 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009919/1.028, allocations: 0.8031 MB / 1.487 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/1.031, allocations: 2.349 MB / 1.489 GB, free: 11.27 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.031, allocations: 1.406 kB / 1.489 GB, free: 11.27 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/1.031, allocations: 3.938 kB / 1.489 GB, free: 11.26 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.732e-05/1.031, allocations: 0 / 1.489 GB, free: 11.26 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.003724/1.035, allocations: 1.93 MB / 1.491 GB, free: 9.781 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.035, allocations: 14.55 kB / 1.491 GB, free: 9.777 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.806e-05/1.035, allocations: 32.72 kB / 1.491 GB, free: 9.773 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/1.035, allocations: 187.7 kB / 1.492 GB, free: 9.621 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1121/1.147, allocations: 15.48 MB / 1.507 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/1.15, allocations: 1.242 MB / 1.508 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/1.15, allocations: 90.47 kB / 1.508 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004515/1.151, allocations: 124 kB / 1.508 GB, free: 10.17 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03638/1.187, allocations: 7.673 MB / 1.516 GB, free: 2.422 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/1.187, allocations: 0 / 1.516 GB, free: 2.422 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/1.187, allocations: 59.92 kB / 1.516 GB, free: 2.363 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/1.187, allocations: 32 kB / 1.516 GB, free: 2.332 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06957/1.257, allocations: 13.58 MB / 1.529 GB, free: 4.73 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/1.3, allocations: 10 MB / 1.539 GB, free: 10.53 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04139/1.342, allocations: 7.836 MB / 1.546 GB, free: 2.68 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03281/1.375, allocations: 6.148 MB / 1.552 GB, free: 12.52 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/1.375, allocations: 0.5983 MB / 1.553 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03386/1.409, allocations: 6.753 MB / 1.56 GB, free: 5.012 MB / 1.232 GB Notification: Performance of pre-optimization done (n=113): time 3.246e-06/1.409, allocations: 0 / 1.56 GB, free: 5.012 MB / 1.232 GB Notification: Performance of matching and sorting (n=113): time 0.0978/1.507, allocations: 18.19 MB / 1.577 GB, free: 2.773 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.507, allocations: 192.9 kB / 1.577 GB, free: 2.539 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.508, allocations: 0.7864 MB / 1.578 GB, free: 1.742 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004937/1.509, allocations: 45.7 kB / 1.578 GB, free: 1.691 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/1.509, allocations: 0.517 MB / 1.579 GB, free: 1.168 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005943/1.51, allocations: 384.7 kB / 1.579 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/1.511, allocations: 354.5 kB / 1.579 GB, free: 444 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.511, allocations: 349.9 kB / 1.58 GB, free: 88 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0332/1.544, allocations: 6.303 MB / 1.586 GB, free: 9.777 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03322/1.577, allocations: 6.444 MB / 1.592 GB, free: 3.289 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06395/1.641, allocations: 10.9 MB / 1.603 GB, free: 8.363 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/1.641, allocations: 0 / 1.603 GB, free: 8.363 MB / 1.279 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.08403/1.725, allocations: 12.22 MB / 1.615 GB, free: 12.12 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.725, allocations: 8 kB / 1.615 GB, free: 12.11 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.725, allocations: 0 / 1.615 GB, free: 12.11 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/1.726, allocations: 84.73 kB / 1.615 GB, free: 12.02 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01912/1.745, allocations: 2.667 MB / 1.618 GB, free: 9.352 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/1.748, allocations: 1.629 MB / 1.619 GB, free: 7.578 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01843/1.766, allocations: 2.46 MB / 1.622 GB, free: 5.113 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/1.767, allocations: 103.8 kB / 1.622 GB, free: 5.012 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.001221/1.768, allocations: 319.3 kB / 1.622 GB, free: 4.691 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/1.769, allocations: 107.3 kB / 1.622 GB, free: 4.586 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06871/1.837, allocations: 12.73 MB / 1.634 GB, free: 7.832 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.837, allocations: 19.94 kB / 1.634 GB, free: 7.812 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.837, allocations: 0 / 1.634 GB, free: 7.812 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.838, allocations: 15.91 kB / 1.634 GB, free: 7.797 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/1.841, allocations: 1.865 MB / 1.636 GB, free: 5.879 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/1.841, allocations: 3.984 kB / 1.636 GB, free: 5.875 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01857/1.859, allocations: 2.652 MB / 1.639 GB, free: 3.219 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/1.86, allocations: 68.78 kB / 1.639 GB, free: 3.148 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000796/1.86, allocations: 95.8 kB / 1.639 GB, free: 3.055 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/1.863, allocations: 1.658 MB / 1.641 GB, free: 1.254 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.863, allocations: 3.938 kB / 1.641 GB, free: 1.25 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06795/1.931, allocations: 12.09 MB / 1.652 GB, free: 5.117 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/1.932, allocations: 0.6829 MB / 1.653 GB, free: 4.414 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/1.933, allocations: 28 kB / 1.653 GB, free: 4.387 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01803/1.951, allocations: 2.398 MB / 1.656 GB, free: 1.984 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.951, allocations: 101.2 kB / 1.656 GB, free: 1.887 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004544/1.952, allocations: 107.8 kB / 1.656 GB, free: 1.781 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.0008893/1.953, allocations: 0.5615 MB / 1.656 GB, free: 1.223 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.01e-07/1.953, allocations: 0 / 1.656 GB, free: 1.223 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00226/1.955, allocations: 0.7253 MB / 1.657 GB, free: 0.4961 MB / 1.326 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.06961/2.024, allocations: 13.21 MB / 1.67 GB, free: 3.422 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.06925/2.094, allocations: 12.82 MB / 1.682 GB, free: 6.566 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/2.094, allocations: 4 kB / 1.682 GB, free: 6.562 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.03517/2.129, allocations: 6.458 MB / 1.689 GB, free: 88 kB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/2.131, allocations: 337.6 kB / 1.689 GB, free: 15.78 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/2.347, allocations: 43.45 MB / 1.731 GB, free: 4.121 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008555/2.347, allocations: 1.155 MB / 1.733 GB, free: 2.934 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.003246/2.351, allocations: 0.739 MB / 1.733 GB, free: 2.191 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/2.353, allocations: 0.6395 MB / 1.734 GB, free: 1.551 MB / 1.404 GB Notification: Performance of SimCode: time 9.72e-07/2.353, allocations: 0 / 1.734 GB, free: 1.551 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08918/2.442, allocations: 47.57 MB / 1.78 GB, free: 2.203 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/16.77, allocations: 15.84 kB / 1.78 GB, free: 2.188 MB / 1.451 GB " [Timeout remaining time 283] (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: 22.979092903027777]