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.001385/0.001385, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001749/0.001749, allocations: 219.5 kB / 23.03 MB, free: 4.922 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.048/3.048, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.001943/0.001943, allocations: 61.2 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007883/0.3159, allocations: 5.444 MB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.478, allocations: 133.8 MB / 1.481 GB, free: 4.141 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.4791, allocations: 23.81 kB / 1.481 GB, free: 4.117 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.48, allocations: 241.8 kB / 1.482 GB, free: 3.879 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.4823, allocations: 0.6883 MB / 1.482 GB, free: 3.191 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.4848, allocations: 1.022 MB / 1.483 GB, free: 2.176 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.4873, allocations: 1.971 MB / 1.485 GB, free: 200 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4883, allocations: 0.5593 MB / 1.486 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.4894, allocations: 0.7438 MB / 1.486 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009661/0.4904, allocations: 0.786 MB / 1.487 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.4906, allocations: 176 kB / 1.487 GB, free: 13.89 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.4919, allocations: 0.7065 MB / 1.488 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.4923, allocations: 450.6 kB / 1.488 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.493, allocations: 0.6572 MB / 1.489 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.4959, allocations: 2.355 MB / 1.491 GB, free: 9.719 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4959, allocations: 0 / 1.491 GB, free: 9.719 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4959, allocations: 0 / 1.491 GB, free: 9.719 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.01e-05/0.496, allocations: 0 / 1.491 GB, free: 9.719 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.003824/0.4998, allocations: 1.856 MB / 1.493 GB, free: 7.824 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4998, allocations: 12.03 kB / 1.493 GB, free: 7.812 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.251e-05/0.4999, allocations: 30.66 kB / 1.493 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.5001, allocations: 194 kB / 1.493 GB, free: 7.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1083/0.6083, allocations: 16.09 MB / 1.509 GB, free: 7.465 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.6111, allocations: 1.19 MB / 1.51 GB, free: 6.242 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/0.6112, allocations: 94.47 kB / 1.51 GB, free: 6.148 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/0.6117, allocations: 120 kB / 1.511 GB, free: 6.031 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/0.647, allocations: 8.217 MB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.647, allocations: 0 / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.6474, allocations: 55.98 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.6474, allocations: 32 kB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06635/0.7138, allocations: 14.03 MB / 1.532 GB, free: 15.54 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04151/0.7553, allocations: 9.047 MB / 1.541 GB, free: 6.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05676/0.812, allocations: 9.936 MB / 1.551 GB, free: 12.46 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03151/0.8435, allocations: 6.386 MB / 1.557 GB, free: 6.059 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/0.8439, allocations: 64.94 kB / 1.557 GB, free: 5.996 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03399/0.8779, allocations: 7.126 MB / 1.564 GB, free: 14.82 MB / 1.264 GB Notification: Performance of pre-optimization done (n=113): time 5.3e-06/0.8779, allocations: 4 kB / 1.564 GB, free: 14.81 MB / 1.264 GB Notification: Performance of matching and sorting (n=113): time 0.09627/0.9742, allocations: 18.78 MB / 1.582 GB, free: 12 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.9743, allocations: 196.9 kB / 1.583 GB, free: 11.76 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.9756, allocations: 0.7903 MB / 1.583 GB, free: 10.96 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000507/0.9761, allocations: 53.7 kB / 1.583 GB, free: 10.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.9766, allocations: 0.5014 MB / 1.584 GB, free: 10.39 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/0.9773, allocations: 396.7 kB / 1.584 GB, free: 10 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.9786, allocations: 366.5 kB / 1.585 GB, free: 9.637 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9788, allocations: 341.9 kB / 1.585 GB, free: 9.297 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03197/1.011, allocations: 6.533 MB / 1.591 GB, free: 2.754 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03214/1.043, allocations: 6.854 MB / 1.598 GB, free: 11.81 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05797/1.101, allocations: 11.28 MB / 1.609 GB, free: 0.5078 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/1.101, allocations: 0 / 1.609 GB, free: 0.5078 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.613/1.714, allocations: 12.65 MB / 1.621 GB, free: 264.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.714, allocations: 6.359 kB / 1.621 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.714, allocations: 1.062 kB / 1.621 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/1.715, allocations: 86.16 kB / 1.622 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01761/1.732, allocations: 2.77 MB / 1.624 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.734, allocations: 1.519 MB / 1.626 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01646/1.75, allocations: 2.544 MB / 1.628 GB, free: 262.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/1.751, allocations: 109.7 kB / 1.628 GB, free: 262.2 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.001025/1.752, allocations: 318 kB / 1.629 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005653/1.752, allocations: 112.7 kB / 1.629 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06126/1.814, allocations: 13.31 MB / 1.642 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.814, allocations: 12.62 kB / 1.642 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.814, allocations: 6.844 kB / 1.642 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.814, allocations: 7.922 kB / 1.642 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/1.816, allocations: 1.299 MB / 1.643 GB, free: 254.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.816, allocations: 0 / 1.643 GB, free: 254.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01642/1.832, allocations: 2.745 MB / 1.646 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/1.832, allocations: 77.91 kB / 1.646 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004228/1.833, allocations: 100.1 kB / 1.646 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/1.834, allocations: 1.549 MB / 1.647 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.834, allocations: 0 / 1.647 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05681/1.891, allocations: 12.53 MB / 1.66 GB, free: 240.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.893, allocations: 0.6067 MB / 1.66 GB, free: 240.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/1.893, allocations: 31.94 kB / 1.66 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0157/1.909, allocations: 2.484 MB / 1.663 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.909, allocations: 101.1 kB / 1.663 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000379/1.91, allocations: 107.8 kB / 1.663 GB, free: 237.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006129/1.91, allocations: 0.5692 MB / 1.663 GB, free: 236.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.91, allocations: 3.172 kB / 1.663 GB, free: 236.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001709/1.912, allocations: 0.7196 MB / 1.664 GB, free: 236.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.06031/1.972, allocations: 13.65 MB / 1.677 GB, free: 222.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05855/2.031, allocations: 13.29 MB / 1.69 GB, free: 209.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/2.031, allocations: 0 / 1.69 GB, free: 209.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.02985/2.061, allocations: 6.701 MB / 1.697 GB, free: 202.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/2.062, allocations: 335 kB / 1.697 GB, free: 202.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1812/2.243, allocations: 44.82 MB / 1.741 GB, free: 157.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/2.244, allocations: 0.5688 MB / 1.742 GB, free: 156.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003487/2.247, allocations: 0.8136 MB / 1.742 GB, free: 155.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/2.249, allocations: 0.6473 MB / 1.743 GB, free: 155.3 MB / 1.295 GB Notification: Performance of SimCode: time 8.32e-07/2.249, allocations: 0 / 1.743 GB, free: 155.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07078/2.32, allocations: 53.17 MB / 1.795 GB, free: 102.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/17.73, allocations: 10.72 kB / 1.795 GB, free: 102.4 MB / 1.295 GB " [Timeout remaining time 282] (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: 24.484015085035935]