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.00156/0.00156, allocations: 116.1 kB / 17.17 MB, free: 6 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.001798/0.001798, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.889/2.889, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_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.002044/0.002044, allocations: 63.91 kB / 1.149 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9911, allocations: 176.1 MB / 1.321 GB, free: 7.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008762/0.9999, allocations: 6.635 MB / 1.328 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1998/1.2, allocations: 155.4 MB / 1.48 GB, free: 3.523 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/1.201, allocations: 27.81 kB / 1.48 GB, free: 3.496 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/1.202, allocations: 245.6 kB / 1.48 GB, free: 3.254 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/1.205, allocations: 0.7266 MB / 1.481 GB, free: 2.527 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/1.209, allocations: 1.068 MB / 1.482 GB, free: 1.465 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00322/1.212, allocations: 2.161 MB / 1.484 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/1.213, allocations: 0.6438 MB / 1.484 GB, free: 14.62 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/1.214, allocations: 0.8178 MB / 1.485 GB, free: 13.8 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/1.215, allocations: 0.8755 MB / 1.486 GB, free: 12.92 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/1.216, allocations: 212 kB / 1.486 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/1.217, allocations: 0.7533 MB / 1.487 GB, free: 11.96 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/1.218, allocations: 494.5 kB / 1.488 GB, free: 11.47 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008861/1.219, allocations: 0.9059 MB / 1.488 GB, free: 10.56 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003548/1.222, allocations: 2.686 MB / 1.491 GB, free: 7.867 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.222, allocations: 0 / 1.491 GB, free: 7.867 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.051e-05/1.222, allocations: 0 / 1.491 GB, free: 7.867 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.67e-05/1.222, allocations: 0 / 1.491 GB, free: 7.867 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.004468/1.227, allocations: 2.06 MB / 1.493 GB, free: 5.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.227, allocations: 11.98 kB / 1.493 GB, free: 5.738 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.08e-05/1.227, allocations: 42.94 kB / 1.493 GB, free: 5.695 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002445/1.227, allocations: 199 kB / 1.493 GB, free: 5.492 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1126/1.34, allocations: 15.49 MB / 1.508 GB, free: 5.98 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/1.343, allocations: 1.426 MB / 1.51 GB, free: 4.508 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/1.343, allocations: 106.8 kB / 1.51 GB, free: 4.402 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/1.344, allocations: 136 kB / 1.51 GB, free: 4.27 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03814/1.382, allocations: 8.045 MB / 1.518 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/1.382, allocations: 0 / 1.518 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/1.382, allocations: 56 kB / 1.518 GB, free: 12.1 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/1.382, allocations: 32 kB / 1.518 GB, free: 12.07 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07194/1.454, allocations: 14.15 MB / 1.532 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04798/1.502, allocations: 11.71 MB / 1.543 GB, free: 1.969 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04302/1.545, allocations: 8.211 MB / 1.551 GB, free: 9.742 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03425/1.58, allocations: 6.444 MB / 1.558 GB, free: 3.285 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/1.58, allocations: 0.6062 MB / 1.558 GB, free: 2.551 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03569/1.616, allocations: 7.049 MB / 1.565 GB, free: 11.46 MB / 1.248 GB Notification: Performance of pre-optimization done (n=115): time 4.158e-06/1.616, allocations: 0 / 1.565 GB, free: 11.46 MB / 1.248 GB Notification: Performance of matching and sorting (n=115): time 0.1044/1.72, allocations: 18.96 MB / 1.584 GB, free: 8.457 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/1.72, allocations: 192.9 kB / 1.584 GB, free: 8.227 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.722, allocations: 0.8453 MB / 1.585 GB, free: 7.367 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/1.723, allocations: 49.7 kB / 1.585 GB, free: 7.312 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/1.723, allocations: 0.5599 MB / 1.585 GB, free: 6.746 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009013/1.724, allocations: 396.6 kB / 1.586 GB, free: 6.355 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/1.726, allocations: 358.5 kB / 1.586 GB, free: 6 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.726, allocations: 349.9 kB / 1.586 GB, free: 5.652 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03522/1.761, allocations: 6.56 MB / 1.593 GB, free: 15.08 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03521/1.796, allocations: 6.694 MB / 1.599 GB, free: 8.348 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06468/1.861, allocations: 11.2 MB / 1.61 GB, free: 13.12 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.861, allocations: 0 / 1.61 GB, free: 13.12 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07054/1.932, allocations: 12.63 MB / 1.622 GB, free: 480 kB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.932, allocations: 10.03 kB / 1.622 GB, free: 472 kB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.932, allocations: 0 / 1.622 GB, free: 472 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/1.932, allocations: 88.77 kB / 1.623 GB, free: 380 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01899/1.951, allocations: 2.671 MB / 1.625 GB, free: 13.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/1.954, allocations: 1.646 MB / 1.627 GB, free: 11.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/1.973, allocations: 2.456 MB / 1.629 GB, free: 9.438 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007439/1.974, allocations: 103.8 kB / 1.629 GB, free: 9.336 MB / 1.311 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.001799/1.975, allocations: 351.9 kB / 1.63 GB, free: 8.984 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008556/1.976, allocations: 115.4 kB / 1.63 GB, free: 8.871 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07273/2.049, allocations: 13.19 MB / 1.643 GB, free: 11.64 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/2.049, allocations: 19.94 kB / 1.643 GB, free: 11.62 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/2.049, allocations: 4 kB / 1.643 GB, free: 11.62 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/2.049, allocations: 3.984 kB / 1.643 GB, free: 11.62 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/2.053, allocations: 2.478 MB / 1.645 GB, free: 9.09 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/2.053, allocations: 3.938 kB / 1.645 GB, free: 9.086 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01982/2.073, allocations: 2.656 MB / 1.648 GB, free: 6.426 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/2.073, allocations: 76.72 kB / 1.648 GB, free: 6.348 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008715/2.074, allocations: 87.81 kB / 1.648 GB, free: 6.262 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/2.077, allocations: 1.674 MB / 1.649 GB, free: 4.441 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.077, allocations: 0 / 1.649 GB, free: 4.441 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06979/2.146, allocations: 12.58 MB / 1.662 GB, free: 7.824 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/2.148, allocations: 0.8157 MB / 1.662 GB, free: 6.988 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007052/2.149, allocations: 24 kB / 1.662 GB, free: 6.965 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01833/2.167, allocations: 2.402 MB / 1.665 GB, free: 4.559 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/2.168, allocations: 101.1 kB / 1.665 GB, free: 4.461 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005855/2.168, allocations: 107.8 kB / 1.665 GB, free: 4.355 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.001091/2.169, allocations: 0.5929 MB / 1.666 GB, free: 3.75 MB / 1.342 GB Notification: Performance of sort global known variables: time 7e-08/2.169, allocations: 0 / 1.666 GB, free: 3.75 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.002728/2.172, allocations: 0.7565 MB / 1.666 GB, free: 2.992 MB / 1.342 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.07386/2.246, allocations: 13.67 MB / 1.68 GB, free: 5.453 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.07119/2.317, allocations: 13.38 MB / 1.693 GB, free: 8.043 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/2.317, allocations: 0 / 1.693 GB, free: 8.043 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.03523/2.352, allocations: 6.767 MB / 1.699 GB, free: 1.258 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/2.355, allocations: 352.1 kB / 1.7 GB, free: 0.9336 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2274/2.582, allocations: 45.41 MB / 1.744 GB, free: 3.309 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/2.584, allocations: 1.205 MB / 1.745 GB, free: 2.074 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.004255/2.588, allocations: 0.7355 MB / 1.746 GB, free: 1.336 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/2.591, allocations: 0.6864 MB / 1.747 GB, free: 0.6484 MB / 1.42 GB Notification: Performance of SimCode: time 9.82e-07/2.591, allocations: 0 / 1.747 GB, free: 0.6484 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/2.695, allocations: 51.01 MB / 1.796 GB, free: 13.81 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/17.25, allocations: 6.156 kB / 1.796 GB, free: 13.8 MB / 1.482 GB " [Timeout remaining time 282] (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.795545216009486]