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.001309/0.001309, 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.001414/0.001414, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.777 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.933/2.933, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.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.001954/0.001954, allocations: 65.44 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007813/0.3153, allocations: 5.453 MB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.4818, allocations: 133.9 MB / 1.461 GB, free: 6.488 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/0.4827, allocations: 23.81 kB / 1.461 GB, free: 6.465 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.4835, allocations: 233.8 kB / 1.461 GB, free: 6.234 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.4857, allocations: 0.6989 MB / 1.462 GB, free: 5.535 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.488, allocations: 1.026 MB / 1.463 GB, free: 4.516 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.4901, allocations: 1.971 MB / 1.465 GB, free: 2.539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.491, allocations: 0.5397 MB / 1.466 GB, free: 1.953 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009369/0.492, allocations: 0.7476 MB / 1.466 GB, free: 1.203 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.4929, allocations: 0.7039 MB / 1.467 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.4931, allocations: 176 kB / 1.467 GB, free: 332 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.4944, allocations: 0.6831 MB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.4948, allocations: 450.6 kB / 1.468 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.4955, allocations: 0.6572 MB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.4982, allocations: 2.362 MB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4982, allocations: 0 / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4982, allocations: 0 / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.4982, allocations: 0 / 1.471 GB, free: 12.17 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.003427/0.5017, allocations: 1.857 MB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5017, allocations: 8.031 kB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.5019, allocations: 186 kB / 1.473 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.107/0.6089, allocations: 15.47 MB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.6118, allocations: 1.174 MB / 1.489 GB, free: 9.371 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.6119, allocations: 94.47 kB / 1.49 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.6123, allocations: 120 kB / 1.49 GB, free: 9.16 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0362/0.6485, allocations: 7.932 MB / 1.497 GB, free: 1.094 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.6486, allocations: 0 / 1.497 GB, free: 1.094 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.6489, allocations: 52 kB / 1.497 GB, free: 1.043 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.6489, allocations: 35.88 kB / 1.497 GB, free: 1.008 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06853/0.7174, allocations: 13.53 MB / 1.511 GB, free: 3.449 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.7593, allocations: 8.692 MB / 1.519 GB, free: 10.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03982/0.7991, allocations: 7.829 MB / 1.527 GB, free: 2.828 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0324/0.8315, allocations: 6.149 MB / 1.533 GB, free: 12.67 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.8319, allocations: 76.94 kB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03404/0.8659, allocations: 6.849 MB / 1.54 GB, free: 5.688 MB / 1.232 GB Notification: Performance of pre-optimization done (n=113): time 4.248e-06/0.866, allocations: 4 kB / 1.54 GB, free: 5.684 MB / 1.232 GB Notification: Performance of matching and sorting (n=113): time 0.09803/0.964, allocations: 18.11 MB / 1.557 GB, free: 3.547 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.9642, allocations: 192.9 kB / 1.557 GB, free: 3.316 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.9661, allocations: 0.7942 MB / 1.558 GB, free: 2.516 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006652/0.9667, allocations: 53.7 kB / 1.558 GB, free: 2.457 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.9674, allocations: 0.5092 MB / 1.559 GB, free: 1.941 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009113/0.9683, allocations: 388.7 kB / 1.559 GB, free: 1.559 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.9695, allocations: 350.5 kB / 1.559 GB, free: 1.211 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9697, allocations: 357.9 kB / 1.56 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03217/1.002, allocations: 6.295 MB / 1.566 GB, free: 10.55 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03213/1.034, allocations: 6.624 MB / 1.572 GB, free: 3.84 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06017/1.094, allocations: 10.9 MB / 1.583 GB, free: 8.922 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.094, allocations: 0 / 1.583 GB, free: 8.922 MB / 1.279 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06405/1.158, allocations: 12.22 MB / 1.595 GB, free: 12.67 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.158, allocations: 4 kB / 1.595 GB, free: 12.67 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.158, allocations: 4 kB / 1.595 GB, free: 12.66 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/1.159, allocations: 88.77 kB / 1.595 GB, free: 12.57 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01776/1.177, allocations: 2.659 MB / 1.598 GB, free: 9.91 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/1.179, allocations: 1.531 MB / 1.599 GB, free: 8.258 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01717/1.196, allocations: 2.456 MB / 1.602 GB, free: 5.797 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005019/1.196, allocations: 103.8 kB / 1.602 GB, free: 5.695 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.001116/1.198, allocations: 319.8 kB / 1.602 GB, free: 5.371 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005884/1.198, allocations: 115.3 kB / 1.602 GB, free: 5.258 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6686/1.867, allocations: 12.72 MB / 1.615 GB, free: 282.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.867, allocations: 13.53 kB / 1.615 GB, free: 282.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.867, allocations: 0.5156 kB / 1.615 GB, free: 282.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.867, allocations: 10.19 kB / 1.615 GB, free: 282.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.869, allocations: 1.201 MB / 1.616 GB, free: 281.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.869, allocations: 0 / 1.616 GB, free: 281.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01818/1.887, allocations: 2.65 MB / 1.618 GB, free: 281.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/1.888, allocations: 74.53 kB / 1.618 GB, free: 281.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005088/1.888, allocations: 90.02 kB / 1.618 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/1.89, allocations: 1.55 MB / 1.62 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.89, allocations: 1.078 kB / 1.62 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06036/1.95, allocations: 12.09 MB / 1.632 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.952, allocations: 0.6033 MB / 1.632 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/1.953, allocations: 27.08 kB / 1.632 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01664/1.969, allocations: 2.409 MB / 1.635 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.97, allocations: 99.56 kB / 1.635 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003384/1.97, allocations: 109.2 kB / 1.635 GB, free: 275 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006666/1.971, allocations: 0.5567 MB / 1.635 GB, free: 274.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.971, allocations: 0 / 1.635 GB, free: 274.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00172/1.972, allocations: 0.7305 MB / 1.636 GB, free: 274.6 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.06055/2.033, allocations: 13.23 MB / 1.649 GB, free: 264.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05923/2.092, allocations: 12.83 MB / 1.662 GB, free: 252 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/2.092, allocations: 4 kB / 1.662 GB, free: 252 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0302/2.122, allocations: 6.458 MB / 1.668 GB, free: 245.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/2.124, allocations: 340.3 kB / 1.668 GB, free: 245.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1828/2.307, allocations: 43.44 MB / 1.711 GB, free: 201.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/2.307, allocations: 0.5706 MB / 1.711 GB, free: 201 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003266/2.31, allocations: 0.7351 MB / 1.712 GB, free: 200.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/2.312, allocations: 0.6434 MB / 1.713 GB, free: 199.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.733e-06/2.312, allocations: 0 / 1.713 GB, free: 199.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07745/2.39, allocations: 51.78 MB / 1.763 GB, free: 148.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/16.39, allocations: 3.094 kB / 1.763 GB, free: 148.2 MB / 1.295 GB " [Timeout remaining time 283] (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: 22.722205311991274]