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.002081/0.002081, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.003112/0.003112, allocations: 219.7 kB / 23.04 MB, free: 5.074 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.342/3.342, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.00198/0.00198, allocations: 63.84 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4057, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008545/0.4143, allocations: 6.158 MB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2002/0.6145, allocations: 155.5 MB / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.6156, allocations: 23.81 kB / 1.503 GB, free: 14.19 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.6164, allocations: 237.8 kB / 1.503 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.6187, allocations: 0.688 MB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.6213, allocations: 1.039 MB / 1.505 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.6241, allocations: 1.982 MB / 1.507 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.6253, allocations: 0.5554 MB / 1.508 GB, free: 9.648 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.6266, allocations: 0.7477 MB / 1.508 GB, free: 8.898 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.6278, allocations: 0.786 MB / 1.509 GB, free: 8.109 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.6281, allocations: 176 kB / 1.509 GB, free: 7.938 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.6295, allocations: 0.7182 MB / 1.51 GB, free: 7.219 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.6299, allocations: 450.6 kB / 1.51 GB, free: 6.777 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000852/0.6308, allocations: 0.8008 MB / 1.511 GB, free: 5.973 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.6346, allocations: 2.347 MB / 1.513 GB, free: 3.617 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.6346, allocations: 3.984 kB / 1.513 GB, free: 3.613 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6346, allocations: 3.938 kB / 1.513 GB, free: 3.609 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.205e-05/0.6347, allocations: 0 / 1.513 GB, free: 3.609 MB / 1.201 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.00464/0.6393, allocations: 1.848 MB / 1.515 GB, free: 1.723 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.6394, allocations: 12.03 kB / 1.515 GB, free: 1.711 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.901e-05/0.6394, allocations: 38.59 kB / 1.515 GB, free: 1.672 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.6397, allocations: 190 kB / 1.515 GB, free: 1.477 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1156/0.7553, allocations: 16.09 MB / 1.531 GB, free: 1.355 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.7584, allocations: 1.19 MB / 1.532 GB, free: 136 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.7585, allocations: 94.47 kB / 1.532 GB, free: 40 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000583/0.759, allocations: 120.1 kB / 1.533 GB, free: 15.92 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03892/0.798, allocations: 7.962 MB / 1.54 GB, free: 7.883 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.798, allocations: 0 / 1.54 GB, free: 7.883 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.7983, allocations: 52 kB / 1.54 GB, free: 7.832 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.7984, allocations: 28 kB / 1.54 GB, free: 7.805 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07345/0.8718, allocations: 14.05 MB / 1.554 GB, free: 9.73 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/0.917, allocations: 10.3 MB / 1.564 GB, free: 15.25 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07287/0.9899, allocations: 9.942 MB / 1.574 GB, free: 5.293 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.042/1.032, allocations: 6.382 MB / 1.58 GB, free: 14.89 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/1.032, allocations: 80.97 kB / 1.58 GB, free: 14.82 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04388/1.076, allocations: 7.026 MB / 1.587 GB, free: 7.762 MB / 1.279 GB Notification: Performance of pre-optimization done (n=113): time 5.139e-06/1.076, allocations: 0 / 1.587 GB, free: 7.762 MB / 1.279 GB Notification: Performance of matching and sorting (n=113): time 0.1215/1.198, allocations: 18.79 MB / 1.605 GB, free: 4.941 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.198, allocations: 196.9 kB / 1.606 GB, free: 4.707 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.199, allocations: 0.7864 MB / 1.606 GB, free: 3.906 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000649/1.2, allocations: 53.69 kB / 1.606 GB, free: 3.848 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/1.2, allocations: 0.5092 MB / 1.607 GB, free: 3.332 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/1.201, allocations: 384.7 kB / 1.607 GB, free: 2.953 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.202, allocations: 362.5 kB / 1.608 GB, free: 2.594 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.202, allocations: 353.9 kB / 1.608 GB, free: 2.242 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7186/1.921, allocations: 6.526 MB / 1.614 GB, free: 264.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0356/1.957, allocations: 6.676 MB / 1.621 GB, free: 263.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06315/2.02, allocations: 11.28 MB / 1.632 GB, free: 260.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/2.02, allocations: 0 / 1.632 GB, free: 260.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06431/2.084, allocations: 12.66 MB / 1.644 GB, free: 254.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/2.084, allocations: 7.875 kB / 1.644 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/2.084, allocations: 0 / 1.644 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/2.085, allocations: 88.05 kB / 1.644 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01756/2.102, allocations: 2.765 MB / 1.647 GB, free: 253 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/2.104, allocations: 1.532 MB / 1.649 GB, free: 251.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01691/2.121, allocations: 2.531 MB / 1.651 GB, free: 250.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/2.121, allocations: 111.1 kB / 1.651 GB, free: 250.3 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.001026/2.122, allocations: 320.5 kB / 1.651 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005269/2.123, allocations: 113.4 kB / 1.652 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0642/2.187, allocations: 13.31 MB / 1.665 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/2.187, allocations: 16 kB / 1.665 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/2.187, allocations: 4.812 kB / 1.665 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/2.187, allocations: 7.984 kB / 1.665 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/2.189, allocations: 1.97 MB / 1.666 GB, free: 234.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.189, allocations: 3.984 kB / 1.666 GB, free: 234.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01736/2.207, allocations: 2.741 MB / 1.669 GB, free: 232.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/2.207, allocations: 76.73 kB / 1.669 GB, free: 232 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/2.208, allocations: 104.2 kB / 1.669 GB, free: 231.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/2.209, allocations: 1.557 MB / 1.671 GB, free: 230.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.209, allocations: 1.328 kB / 1.671 GB, free: 230.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06485/2.274, allocations: 12.53 MB / 1.683 GB, free: 217.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/2.276, allocations: 0.6098 MB / 1.684 GB, free: 217.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/2.276, allocations: 30.2 kB / 1.684 GB, free: 217.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01744/2.294, allocations: 2.489 MB / 1.686 GB, free: 214.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/2.294, allocations: 97.12 kB / 1.686 GB, free: 214.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004938/2.294, allocations: 119.8 kB / 1.686 GB, free: 214.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006438/2.295, allocations: 0.5576 MB / 1.687 GB, free: 213.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/2.295, allocations: 0 / 1.687 GB, free: 213.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00192/2.297, allocations: 0.7213 MB / 1.688 GB, free: 213.1 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,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.06758/2.365, allocations: 13.63 MB / 1.701 GB, free: 199.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06512/2.43, allocations: 13.29 MB / 1.714 GB, free: 186.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/2.43, allocations: 4.062 kB / 1.714 GB, free: 186.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03341/2.463, allocations: 6.688 MB / 1.72 GB, free: 179.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/2.465, allocations: 325.7 kB / 1.721 GB, free: 179.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1977/2.663, allocations: 44.84 MB / 1.765 GB, free: 134.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/2.663, allocations: 1.159 MB / 1.766 GB, free: 133.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003417/2.667, allocations: 0.8091 MB / 1.766 GB, free: 132.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/2.669, allocations: 0.6395 MB / 1.767 GB, free: 131.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/2.669, allocations: 0 / 1.767 GB, free: 131.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08232/2.751, allocations: 50.47 MB / 1.816 GB, free: 81.42 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/18.28, allocations: 4 kB / 1.816 GB, free: 81.42 MB / 1.295 GB " [Timeout remaining time 281] (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: 25.89784274197882]