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.001599/0.001599, allocations: 109.2 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.002067/0.002067, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.303/3.303, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_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.00209/0.00209, allocations: 70.86 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008459/0.3657, allocations: 6.139 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.557, allocations: 155.5 MB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.5582, allocations: 27.81 kB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009067/0.5591, allocations: 237.8 kB / 1.484 GB, free: 15.44 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.5628, allocations: 0.6867 MB / 1.485 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.5668, allocations: 1.044 MB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003679/0.5704, allocations: 1.986 MB / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.5719, allocations: 0.5554 MB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.5734, allocations: 0.7438 MB / 1.489 GB, free: 10.38 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.5747, allocations: 0.7938 MB / 1.49 GB, free: 9.578 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.5751, allocations: 172 kB / 1.49 GB, free: 9.41 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.5769, allocations: 0.7221 MB / 1.491 GB, free: 8.688 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.5774, allocations: 446.6 kB / 1.491 GB, free: 8.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.5785, allocations: 0.8047 MB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.5819, allocations: 2.347 MB / 1.494 GB, free: 5.086 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5819, allocations: 0 / 1.494 GB, free: 5.086 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5819, allocations: 0 / 1.494 GB, free: 5.086 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.274e-05/0.582, allocations: 4 kB / 1.494 GB, free: 5.082 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.004397/0.5864, allocations: 1.86 MB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5864, allocations: 11.97 kB / 1.496 GB, free: 3.168 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002944/0.5867, allocations: 190 kB / 1.496 GB, free: 2.973 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1094/0.6962, allocations: 15.47 MB / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.6994, allocations: 1.171 MB / 1.512 GB, free: 2.277 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.6996, allocations: 94.47 kB / 1.512 GB, free: 2.184 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007658/0.7003, allocations: 120 kB / 1.513 GB, free: 2.066 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03615/0.7365, allocations: 7.681 MB / 1.52 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.7365, allocations: 0 / 1.52 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005043/0.737, allocations: 55.98 kB / 1.52 GB, free: 10.26 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.737, allocations: 28 kB / 1.52 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06855/0.8056, allocations: 13.58 MB / 1.533 GB, free: 12.62 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04389/0.8495, allocations: 9.935 MB / 1.543 GB, free: 2.496 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03997/0.8895, allocations: 7.83 MB / 1.551 GB, free: 10.65 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03242/0.9219, allocations: 6.161 MB / 1.557 GB, free: 4.48 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.9222, allocations: 76.91 kB / 1.557 GB, free: 4.406 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03433/0.9566, allocations: 6.749 MB / 1.563 GB, free: 13.63 MB / 1.264 GB Notification: Performance of pre-optimization done (n=113): time 3.768e-06/0.9566, allocations: 0 / 1.563 GB, free: 13.63 MB / 1.264 GB Notification: Performance of matching and sorting (n=113): time 0.09846/1.055, allocations: 18.12 MB / 1.581 GB, free: 11.48 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.055, allocations: 196.9 kB / 1.581 GB, free: 11.24 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.056, allocations: 0.7903 MB / 1.582 GB, free: 10.45 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005214/1.057, allocations: 49.7 kB / 1.582 GB, free: 10.39 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/1.057, allocations: 0.5092 MB / 1.583 GB, free: 9.875 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/1.058, allocations: 384.7 kB / 1.583 GB, free: 9.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009839/1.059, allocations: 358.5 kB / 1.583 GB, free: 9.141 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.059, allocations: 345.9 kB / 1.584 GB, free: 8.797 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03209/1.091, allocations: 6.295 MB / 1.59 GB, free: 2.496 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03299/1.124, allocations: 6.452 MB / 1.596 GB, free: 12 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06075/1.185, allocations: 10.89 MB / 1.607 GB, free: 1.082 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/1.185, allocations: 0 / 1.607 GB, free: 1.082 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.6917/1.877, allocations: 12.22 MB / 1.619 GB, free: 280.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.877, allocations: 5.906 kB / 1.619 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.877, allocations: 1.031 kB / 1.619 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.877, allocations: 83.7 kB / 1.619 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01822/1.896, allocations: 2.669 MB / 1.621 GB, free: 280.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/1.897, allocations: 1.536 MB / 1.623 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/1.915, allocations: 2.458 MB / 1.625 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/1.915, allocations: 102.2 kB / 1.625 GB, free: 279 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.0009615/1.916, allocations: 315.3 kB / 1.626 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/1.917, allocations: 117.5 kB / 1.626 GB, free: 278.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06275/1.979, allocations: 12.73 MB / 1.638 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.979, allocations: 15.62 kB / 1.638 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.979, allocations: 0 / 1.638 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.979, allocations: 7.922 kB / 1.638 GB, free: 272.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/1.981, allocations: 1.843 MB / 1.64 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.981, allocations: 0 / 1.64 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01689/1.998, allocations: 2.653 MB / 1.643 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.999, allocations: 76.19 kB / 1.643 GB, free: 269.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000462/1.999, allocations: 95.67 kB / 1.643 GB, free: 269.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/2.001, allocations: 1.562 MB / 1.644 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.001, allocations: 0 / 1.644 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05951/2.06, allocations: 12.09 MB / 1.656 GB, free: 257.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/2.062, allocations: 0.5945 MB / 1.657 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/2.062, allocations: 31.95 kB / 1.657 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0163/2.079, allocations: 2.402 MB / 1.659 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/2.079, allocations: 105.1 kB / 1.659 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/2.079, allocations: 103.8 kB / 1.659 GB, free: 254.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007021/2.08, allocations: 0.5692 MB / 1.66 GB, free: 253.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.08, allocations: 0 / 1.66 GB, free: 253.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001873/2.082, allocations: 0.7212 MB / 1.66 GB, free: 253.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 (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.06123/2.143, allocations: 13.21 MB / 1.673 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0591/2.202, allocations: 12.83 MB / 1.686 GB, free: 227.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.202, allocations: 0 / 1.686 GB, free: 227.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03089/2.233, allocations: 6.451 MB / 1.692 GB, free: 220.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/2.235, allocations: 343.4 kB / 1.693 GB, free: 220.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1887/2.423, allocations: 43.45 MB / 1.735 GB, free: 176.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/2.424, allocations: 1.159 MB / 1.736 GB, free: 175.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003248/2.427, allocations: 0.7429 MB / 1.737 GB, free: 174.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/2.429, allocations: 0.6395 MB / 1.737 GB, free: 174.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.01e-07/2.429, allocations: 0 / 1.737 GB, free: 174.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/2.511, allocations: 48.99 MB / 1.785 GB, free: 125.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/18.1, allocations: 5.609 kB / 1.785 GB, free: 125.4 MB / 1.295 GB " [Timeout remaining time 282] (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: 25.414951574988663]