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.0018/0.0018, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00172/0.00172, allocations: 222.9 kB / 22.25 MB, free: 5.258 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.824 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.353/3.353, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.002016/0.002016, allocations: 63.53 kB / 1.154 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 176.1 MB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008401/0.3691, allocations: 5.443 MB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5518, allocations: 133.9 MB / 1.462 GB, free: 5.5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.5536, allocations: 27.81 kB / 1.462 GB, free: 5.473 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009596/0.5546, allocations: 237.8 kB / 1.462 GB, free: 5.238 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.5573, allocations: 0.6908 MB / 1.463 GB, free: 4.547 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.5604, allocations: 1.022 MB / 1.464 GB, free: 3.531 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5633, allocations: 1.975 MB / 1.466 GB, free: 1.551 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.5644, allocations: 0.5632 MB / 1.466 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5656, allocations: 0.7477 MB / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5667, allocations: 0.7937 MB / 1.468 GB, free: 15.39 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.5669, allocations: 172 kB / 1.468 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5685, allocations: 0.7026 MB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.569, allocations: 454.6 kB / 1.469 GB, free: 14.08 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007846/0.5698, allocations: 0.6533 MB / 1.47 GB, free: 13.42 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.5732, allocations: 2.362 MB / 1.472 GB, free: 11.05 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5732, allocations: 0 / 1.472 GB, free: 11.05 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5732, allocations: 8 kB / 1.472 GB, free: 11.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.5732, allocations: 0 / 1.472 GB, free: 11.04 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.004107/0.5773, allocations: 1.856 MB / 1.474 GB, free: 9.145 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5774, allocations: 8.031 kB / 1.474 GB, free: 9.137 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.5776, allocations: 186 kB / 1.474 GB, free: 8.945 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1142/0.6918, allocations: 15.47 MB / 1.489 GB, free: 9.449 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.6953, allocations: 1.174 MB / 1.49 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.6954, allocations: 94.47 kB / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/0.6959, allocations: 124 kB / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03637/0.7323, allocations: 7.928 MB / 1.498 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.7323, allocations: 0 / 1.498 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.7326, allocations: 55.94 kB / 1.498 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.7327, allocations: 32 kB / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06742/0.8001, allocations: 13.53 MB / 1.512 GB, free: 2.328 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04281/0.8429, allocations: 8.68 MB / 1.52 GB, free: 9.566 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03992/0.8828, allocations: 7.834 MB / 1.528 GB, free: 1.715 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03226/0.9151, allocations: 6.155 MB / 1.534 GB, free: 11.54 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.9154, allocations: 68.94 kB / 1.534 GB, free: 11.48 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0485/0.9639, allocations: 6.861 MB / 1.54 GB, free: 4.562 MB / 1.233 GB Notification: Performance of pre-optimization done (n=113): time 5.811e-06/0.9639, allocations: 0 / 1.54 GB, free: 4.562 MB / 1.233 GB Notification: Performance of matching and sorting (n=113): time 0.1094/1.073, allocations: 18.11 MB / 1.558 GB, free: 2.422 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.073, allocations: 196.9 kB / 1.558 GB, free: 2.188 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.075, allocations: 0.7903 MB / 1.559 GB, free: 1.391 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005399/1.075, allocations: 53.69 kB / 1.559 GB, free: 1.332 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.076, allocations: 0.513 MB / 1.56 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007478/1.076, allocations: 380.7 kB / 1.56 GB, free: 448 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.078, allocations: 366.5 kB / 1.56 GB, free: 76 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002244/1.078, allocations: 341.9 kB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04707/1.125, allocations: 6.302 MB / 1.567 GB, free: 9.422 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05049/1.176, allocations: 6.62 MB / 1.573 GB, free: 2.719 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07687/1.253, allocations: 10.9 MB / 1.584 GB, free: 7.789 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.253, allocations: 0 / 1.584 GB, free: 7.789 MB / 1.279 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06497/1.318, allocations: 12.22 MB / 1.596 GB, free: 11.54 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.318, allocations: 7.984 kB / 1.596 GB, free: 11.53 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.318, allocations: 0 / 1.596 GB, free: 11.53 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/1.319, allocations: 84.84 kB / 1.596 GB, free: 11.45 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/1.337, allocations: 2.663 MB / 1.599 GB, free: 8.777 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/1.34, allocations: 1.53 MB / 1.6 GB, free: 7.129 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01799/1.358, allocations: 2.456 MB / 1.602 GB, free: 4.668 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005822/1.359, allocations: 103.8 kB / 1.603 GB, free: 4.566 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.001128/1.36, allocations: 315.8 kB / 1.603 GB, free: 4.246 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/1.36, allocations: 107.3 kB / 1.603 GB, free: 4.141 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7621/2.122, allocations: 12.73 MB / 1.615 GB, free: 281.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/2.122, allocations: 13.06 kB / 1.615 GB, free: 281.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/2.122, allocations: 1.031 kB / 1.615 GB, free: 281.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/2.122, allocations: 6.328 kB / 1.615 GB, free: 281.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/2.125, allocations: 1.2 MB / 1.617 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/2.125, allocations: 0.6875 kB / 1.617 GB, free: 280.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01955/2.144, allocations: 2.654 MB / 1.619 GB, free: 280.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005594/2.145, allocations: 73.25 kB / 1.619 GB, free: 280.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006081/2.145, allocations: 90.86 kB / 1.619 GB, free: 280.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/2.147, allocations: 1.55 MB / 1.621 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.147, allocations: 0 / 1.621 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06201/2.209, allocations: 12.09 MB / 1.633 GB, free: 275.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/2.212, allocations: 0.598 MB / 1.633 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006747/2.212, allocations: 28.31 kB / 1.633 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01682/2.229, allocations: 2.4 MB / 1.636 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/2.23, allocations: 102.2 kB / 1.636 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004861/2.23, allocations: 109.9 kB / 1.636 GB, free: 273.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007545/2.231, allocations: 0.5675 MB / 1.636 GB, free: 273.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/2.231, allocations: 0 / 1.636 GB, free: 273.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002007/2.233, allocations: 0.7315 MB / 1.637 GB, free: 273.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.06148/2.294, allocations: 13.24 MB / 1.65 GB, free: 263 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05839/2.353, allocations: 12.83 MB / 1.663 GB, free: 250.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.353, allocations: 0 / 1.663 GB, free: 250.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.02966/2.382, allocations: 6.462 MB / 1.669 GB, free: 243.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/2.384, allocations: 345.2 kB / 1.669 GB, free: 243.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1878/2.572, allocations: 43.44 MB / 1.712 GB, free: 199.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/2.572, allocations: 0.5611 MB / 1.712 GB, free: 199.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003188/2.575, allocations: 0.7422 MB / 1.713 GB, free: 198.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/2.577, allocations: 0.6356 MB / 1.714 GB, free: 197.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.242e-06/2.577, allocations: 1.203 kB / 1.714 GB, free: 197.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07988/2.657, allocations: 52.13 MB / 1.764 GB, free: 146 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/17.35, allocations: 2.406 kB / 1.764 GB, free: 146 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: 24.537391802994534]