Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.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.001266/0.001266, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00136/0.00136, allocations: 209.9 kB / 22.24 MB, free: 4.855 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.785 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.082/3.082, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_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.002205/0.002205, allocations: 66.97 kB / 1.153 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 176.1 MB / 1.325 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008317/0.3478, allocations: 5.908 MB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.5341, allocations: 134 MB / 1.462 GB, free: 5.793 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.5365, allocations: 35.69 kB / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.5382, allocations: 249.6 kB / 1.462 GB, free: 5.512 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004532/0.5427, allocations: 0.7332 MB / 1.463 GB, free: 4.777 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.5468, allocations: 1.07 MB / 1.464 GB, free: 3.715 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004063/0.5509, allocations: 2.169 MB / 1.466 GB, free: 1.539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.5525, allocations: 0.6055 MB / 1.466 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.5542, allocations: 0.8295 MB / 1.467 GB, free: 64 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.556, allocations: 0.7702 MB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007652/0.5568, allocations: 212 kB / 1.468 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.5591, allocations: 0.7181 MB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/0.56, allocations: 498.6 kB / 1.469 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.5616, allocations: 0.7467 MB / 1.47 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.5663, allocations: 2.693 MB / 1.473 GB, free: 10.42 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5663, allocations: 0 / 1.473 GB, free: 10.42 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5663, allocations: 0 / 1.473 GB, free: 10.42 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001036/0.5664, allocations: 4 kB / 1.473 GB, free: 10.42 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.005482/0.5719, allocations: 1.975 MB / 1.475 GB, free: 8.402 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5719, allocations: 12.03 kB / 1.475 GB, free: 8.391 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004696/0.5724, allocations: 203 kB / 1.475 GB, free: 8.184 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1112/0.6836, allocations: 15.49 MB / 1.49 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.6873, allocations: 1.35 MB / 1.491 GB, free: 7.285 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.6874, allocations: 106.8 kB / 1.491 GB, free: 7.18 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007441/0.6881, allocations: 140 kB / 1.492 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03946/0.7276, allocations: 8.292 MB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.895e-05/0.7277, allocations: 0 / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.7287, allocations: 63.98 kB / 1.5 GB, free: 14.56 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.7288, allocations: 32 kB / 1.5 GB, free: 14.53 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07202/0.8008, allocations: 14.09 MB / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04728/0.8481, allocations: 10.03 MB / 1.523 GB, free: 6.297 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04137/0.8895, allocations: 8.209 MB / 1.531 GB, free: 14.07 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03338/0.9228, allocations: 6.452 MB / 1.538 GB, free: 7.609 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/0.9232, allocations: 76.92 kB / 1.538 GB, free: 7.535 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.035/0.9582, allocations: 7.154 MB / 1.545 GB, free: 336 kB / 1.232 GB Notification: Performance of pre-optimization done (n=115): time 5.34e-06/0.9582, allocations: 0 / 1.545 GB, free: 336 kB / 1.232 GB Notification: Performance of matching and sorting (n=115): time 0.1026/1.061, allocations: 18.88 MB / 1.563 GB, free: 13.41 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.061, allocations: 200.9 kB / 1.563 GB, free: 13.18 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.063, allocations: 0.8375 MB / 1.564 GB, free: 12.33 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006742/1.063, allocations: 49.7 kB / 1.564 GB, free: 12.27 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/1.064, allocations: 0.5599 MB / 1.565 GB, free: 11.71 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009789/1.065, allocations: 400.5 kB / 1.565 GB, free: 11.32 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/1.067, allocations: 362.5 kB / 1.565 GB, free: 10.96 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.067, allocations: 353.9 kB / 1.566 GB, free: 10.61 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03401/1.101, allocations: 6.549 MB / 1.572 GB, free: 4.047 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03408/1.135, allocations: 6.866 MB / 1.579 GB, free: 13.09 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06201/1.197, allocations: 11.21 MB / 1.59 GB, free: 1.859 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.197, allocations: 3.938 kB / 1.59 GB, free: 1.855 MB / 1.279 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06791/1.265, allocations: 12.63 MB / 1.602 GB, free: 5.195 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.265, allocations: 4 kB / 1.602 GB, free: 5.191 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.265, allocations: 0 / 1.602 GB, free: 5.191 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/1.266, allocations: 88.78 kB / 1.602 GB, free: 5.102 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/1.284, allocations: 2.663 MB / 1.605 GB, free: 2.434 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.287, allocations: 1.541 MB / 1.606 GB, free: 0.7734 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6473/1.934, allocations: 2.458 MB / 1.609 GB, free: 281.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006185/1.935, allocations: 104.5 kB / 1.609 GB, free: 281.5 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.001109/1.936, allocations: 345.3 kB / 1.609 GB, free: 281.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/1.936, allocations: 117.4 kB / 1.609 GB, free: 281.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06969/2.006, allocations: 13.19 MB / 1.622 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/2.006, allocations: 21.12 kB / 1.622 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/2.006, allocations: 1.25 kB / 1.622 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/2.006, allocations: 7.125 kB / 1.622 GB, free: 280.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/2.008, allocations: 1.572 MB / 1.624 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.008, allocations: 1 kB / 1.624 GB, free: 279.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01754/2.026, allocations: 2.659 MB / 1.626 GB, free: 279.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/2.026, allocations: 74 kB / 1.626 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/2.027, allocations: 94.34 kB / 1.626 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/2.029, allocations: 1.568 MB / 1.628 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/2.029, allocations: 0 / 1.628 GB, free: 277.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06259/2.091, allocations: 12.57 MB / 1.64 GB, free: 271.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/2.093, allocations: 0.7323 MB / 1.641 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007507/2.094, allocations: 31.41 kB / 1.641 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01661/2.111, allocations: 2.403 MB / 1.643 GB, free: 269.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/2.111, allocations: 103.6 kB / 1.643 GB, free: 269.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004866/2.112, allocations: 107.3 kB / 1.644 GB, free: 269.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008348/2.112, allocations: 0.598 MB / 1.644 GB, free: 269.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.112, allocations: 0 / 1.644 GB, free: 269.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002154/2.115, allocations: 0.7506 MB / 1.645 GB, free: 268.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.06339/2.178, allocations: 13.71 MB / 1.658 GB, free: 255.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0618/2.24, allocations: 13.38 MB / 1.671 GB, free: 241.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/2.24, allocations: 4 kB / 1.671 GB, free: 241.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03136/2.271, allocations: 6.755 MB / 1.678 GB, free: 234.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/2.273, allocations: 360.8 kB / 1.678 GB, free: 234.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.195/2.468, allocations: 45.41 MB / 1.723 GB, free: 188.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007395/2.469, allocations: 0.6145 MB / 1.723 GB, free: 188.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004323/2.473, allocations: 0.7435 MB / 1.724 GB, free: 187.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/2.476, allocations: 0.6916 MB / 1.725 GB, free: 186.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.714e-06/2.476, allocations: 0 / 1.725 GB, free: 186.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09529/2.571, allocations: 55.35 MB / 1.779 GB, free: 131.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/16.66, allocations: 8.828 kB / 1.779 GB, free: 131.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.271980313118547]