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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.205/3.205, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 68.36 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3923, allocations: 173.9 MB / 1.304 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009771/0.402, allocations: 6.595 MB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1982/0.6002, allocations: 152.5 MB / 1.459 GB, free: 1.828 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.602, allocations: 23.88 kB / 1.459 GB, free: 1.805 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009596/0.6029, allocations: 241.6 kB / 1.46 GB, free: 1.566 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.6061, allocations: 0.7141 MB / 1.46 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.6094, allocations: 1.055 MB / 1.461 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004145/0.6135, allocations: 2.141 MB / 1.463 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.6152, allocations: 0.6359 MB / 1.464 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.6171, allocations: 0.7944 MB / 1.465 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.6185, allocations: 0.873 MB / 1.466 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003366/0.6188, allocations: 208 kB / 1.466 GB, free: 11.11 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.6206, allocations: 0.7026 MB / 1.467 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.6212, allocations: 490.6 kB / 1.467 GB, free: 9.926 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.6224, allocations: 0.8981 MB / 1.468 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004293/0.6267, allocations: 2.635 MB / 1.47 GB, free: 6.379 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.6267, allocations: 7.984 kB / 1.47 GB, free: 6.371 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.266e-06/0.6267, allocations: 0 / 1.47 GB, free: 6.371 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.394e-05/0.6268, allocations: 0 / 1.47 GB, free: 6.371 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.004809/0.6316, allocations: 2.019 MB / 1.472 GB, free: 4.293 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6316, allocations: 8.922 kB / 1.472 GB, free: 4.285 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.6319, allocations: 203 kB / 1.473 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1049/0.7368, allocations: 15.39 MB / 1.488 GB, free: 4.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.7405, allocations: 1.415 MB / 1.489 GB, free: 3.199 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.7407, allocations: 106.8 kB / 1.489 GB, free: 3.094 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/0.7414, allocations: 132 kB / 1.489 GB, free: 2.965 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/0.7783, allocations: 8.053 MB / 1.497 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.7783, allocations: 0 / 1.497 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.7787, allocations: 56 kB / 1.497 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.7787, allocations: 32 kB / 1.497 GB, free: 10.76 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06897/0.8477, allocations: 14.15 MB / 1.511 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/0.8958, allocations: 11.68 MB / 1.522 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04039/0.9362, allocations: 8.22 MB / 1.53 GB, free: 8.457 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03179/0.9679, allocations: 6.444 MB / 1.537 GB, free: 2.004 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009465/0.9689, allocations: 0.6062 MB / 1.537 GB, free: 1.266 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03378/1.003, allocations: 7.057 MB / 1.544 GB, free: 10.18 MB / 1.248 GB Notification: Performance of pre-optimization done (n=115): time 3.487e-06/1.003, allocations: 0 / 1.544 GB, free: 10.18 MB / 1.248 GB Notification: Performance of matching and sorting (n=115): time 0.09655/1.099, allocations: 18.95 MB / 1.563 GB, free: 7.176 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/1.099, allocations: 192.9 kB / 1.563 GB, free: 6.945 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.101, allocations: 0.8101 MB / 1.564 GB, free: 6.125 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005954/1.101, allocations: 57.64 kB / 1.564 GB, free: 6.062 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000627/1.102, allocations: 0.5482 MB / 1.564 GB, free: 5.508 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/1.103, allocations: 400.5 kB / 1.565 GB, free: 5.117 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/1.104, allocations: 354.5 kB / 1.565 GB, free: 4.766 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.104, allocations: 353.9 kB / 1.565 GB, free: 4.414 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03159/1.135, allocations: 6.545 MB / 1.572 GB, free: 13.86 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03134/1.167, allocations: 6.702 MB / 1.578 GB, free: 7.117 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05855/1.225, allocations: 11.2 MB / 1.589 GB, free: 11.89 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.225, allocations: 0 / 1.589 GB, free: 11.89 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.8231/2.049, allocations: 12.63 MB / 1.602 GB, free: 295.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/2.049, allocations: 7.672 kB / 1.602 GB, free: 295.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/2.049, allocations: 1.75 kB / 1.602 GB, free: 295.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008522/2.049, allocations: 86.98 kB / 1.602 GB, free: 295.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02428/2.074, allocations: 2.669 MB / 1.604 GB, free: 295.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/2.076, allocations: 1.648 MB / 1.606 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/2.095, allocations: 2.459 MB / 1.608 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008092/2.096, allocations: 103 kB / 1.608 GB, free: 294.4 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.00188/2.098, allocations: 345.5 kB / 1.609 GB, free: 294.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/2.099, allocations: 122.6 kB / 1.609 GB, free: 294.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06843/2.167, allocations: 13.2 MB / 1.622 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/2.167, allocations: 13.03 kB / 1.622 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/2.167, allocations: 5.188 kB / 1.622 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/2.167, allocations: 10.78 kB / 1.622 GB, free: 291.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/2.171, allocations: 2.466 MB / 1.624 GB, free: 289.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/2.171, allocations: 0 / 1.624 GB, free: 289.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0183/2.189, allocations: 2.656 MB / 1.627 GB, free: 288.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006345/2.19, allocations: 71.28 kB / 1.627 GB, free: 288.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008943/2.19, allocations: 96.47 kB / 1.627 GB, free: 288.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/2.193, allocations: 1.672 MB / 1.629 GB, free: 286.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.193, allocations: 3.938 kB / 1.629 GB, free: 286.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06082/2.253, allocations: 12.57 MB / 1.641 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/2.256, allocations: 0.8138 MB / 1.642 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009302/2.257, allocations: 24 kB / 1.642 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01661/2.273, allocations: 2.403 MB / 1.644 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/2.274, allocations: 105.1 kB / 1.644 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006493/2.274, allocations: 103 kB / 1.644 GB, free: 274.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001009/2.275, allocations: 0.5807 MB / 1.645 GB, free: 274.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.275, allocations: 0 / 1.645 GB, free: 274.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00282/2.278, allocations: 0.7531 MB / 1.645 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,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 (136): * Single equations (assignments): 129 * 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.05927/2.337, allocations: 13.67 MB / 1.659 GB, free: 260.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05976/2.397, allocations: 13.38 MB / 1.672 GB, free: 246.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.397, allocations: 0 / 1.672 GB, free: 246.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03017/2.427, allocations: 6.757 MB / 1.678 GB, free: 239.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/2.429, allocations: 353.7 kB / 1.679 GB, free: 239.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.183/2.612, allocations: 45.34 MB / 1.723 GB, free: 194.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/2.613, allocations: 1.19 MB / 1.724 GB, free: 192.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003655/2.617, allocations: 0.7276 MB / 1.725 GB, free: 192.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/2.619, allocations: 0.6825 MB / 1.726 GB, free: 191.5 MB / 1.295 GB Notification: Performance of SimCode: time 2.094e-06/2.619, allocations: 0 / 1.726 GB, free: 191.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09019/2.709, allocations: 50.61 MB / 1.775 GB, free: 141 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/17.48, allocations: 9.969 kB / 1.775 GB, free: 141 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_2/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: 24.506238372065127]