Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00528/0.00528, allocations: 98.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 193.3 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 62.72 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2317, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006732/0.2385, allocations: 5.332 MB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1503/0.3888, allocations: 151.6 MB / 1.241 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3899, allocations: 23.88 kB / 1.241 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.3909, allocations: 206 kB / 1.241 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.3935, allocations: 0.609 MB / 1.242 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.3962, allocations: 1.041 MB / 1.243 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.3985, allocations: 1.944 MB / 1.244 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.3998, allocations: 0.9866 MB / 1.245 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.4008, allocations: 0.7592 MB / 1.246 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.4019, allocations: 0.8326 MB / 1.247 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003516/0.4023, allocations: 208 kB / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.4035, allocations: 0.7065 MB / 1.248 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.4039, allocations: 486.6 kB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.4047, allocations: 0.8591 MB / 1.249 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.4073, allocations: 2.569 MB / 1.252 GB, free: 9.184 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4073, allocations: 0 / 1.252 GB, free: 9.184 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4073, allocations: 0 / 1.252 GB, free: 9.184 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.4073, allocations: 0 / 1.252 GB, free: 9.184 MB / 1.014 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.003498/0.4108, allocations: 1.994 MB / 1.254 GB, free: 7.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4109, allocations: 8.031 kB / 1.254 GB, free: 7.125 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/0.4111, allocations: 207 kB / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6193/1.03, allocations: 15.39 MB / 1.269 GB, free: 172.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/1.034, allocations: 1.415 MB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/1.034, allocations: 104.3 kB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/1.035, allocations: 136.7 kB / 1.27 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0388/1.073, allocations: 8.045 MB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/1.073, allocations: 9.125 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/1.074, allocations: 57.44 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/1.074, allocations: 36.97 kB / 1.278 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06922/1.143, allocations: 14.14 MB / 1.292 GB, free: 163 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04266/1.186, allocations: 11.11 MB / 1.303 GB, free: 155.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03818/1.224, allocations: 8.282 MB / 1.311 GB, free: 149.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03193/1.256, allocations: 6.495 MB / 1.318 GB, free: 142.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/1.256, allocations: 0.5994 MB / 1.318 GB, free: 141.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03369/1.29, allocations: 7.061 MB / 1.325 GB, free: 134.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=115): time 4.368e-06/1.29, allocations: 0 / 1.325 GB, free: 134.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=115): time 0.1209/1.411, allocations: 18.95 MB / 1.343 GB, free: 115.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.411, allocations: 204.8 kB / 1.344 GB, free: 115.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.412, allocations: 0.8127 MB / 1.344 GB, free: 114.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005872/1.413, allocations: 45.7 kB / 1.345 GB, free: 114.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/1.413, allocations: 0.5533 MB / 1.345 GB, free: 114.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005067/1.414, allocations: 398.7 kB / 1.345 GB, free: 113.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009736/1.415, allocations: 354.5 kB / 1.346 GB, free: 113.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/1.415, allocations: 349.9 kB / 1.346 GB, free: 113.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03326/1.448, allocations: 6.545 MB / 1.353 GB, free: 106.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03338/1.481, allocations: 6.694 MB / 1.359 GB, free: 99.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0618/1.543, allocations: 11.21 MB / 1.37 GB, free: 88.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.543, allocations: 0 / 1.37 GB, free: 88.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06644/1.61, allocations: 12.63 MB / 1.382 GB, free: 76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.61, allocations: 4 kB / 1.382 GB, free: 75.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.61, allocations: 4 kB / 1.382 GB, free: 75.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/1.61, allocations: 80.84 kB / 1.382 GB, free: 75.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/1.629, allocations: 2.667 MB / 1.385 GB, free: 73.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/1.631, allocations: 1.653 MB / 1.387 GB, free: 71.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/1.649, allocations: 2.461 MB / 1.389 GB, free: 68.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006243/1.65, allocations: 103.8 kB / 1.389 GB, free: 68.88 MB / 1.014 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.001271/1.651, allocations: 343.2 kB / 1.389 GB, free: 68.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/1.652, allocations: 111.3 kB / 1.39 GB, free: 68.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06827/1.72, allocations: 13.21 MB / 1.402 GB, free: 55.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.72, allocations: 16 kB / 1.402 GB, free: 55.19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.72, allocations: 0 / 1.402 GB, free: 55.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.72, allocations: 3.984 kB / 1.402 GB, free: 55.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/1.723, allocations: 2.477 MB / 1.405 GB, free: 52.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.723, allocations: 0 / 1.405 GB, free: 52.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0187/1.742, allocations: 2.66 MB / 1.408 GB, free: 50.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/1.742, allocations: 68.8 kB / 1.408 GB, free: 49.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004866/1.743, allocations: 97.44 kB / 1.408 GB, free: 49.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/1.744, allocations: 1.662 MB / 1.409 GB, free: 48.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.744, allocations: 6.281 kB / 1.409 GB, free: 48.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06643/1.811, allocations: 12.57 MB / 1.422 GB, free: 35.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.813, allocations: 0.8156 MB / 1.422 GB, free: 34.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005285/1.813, allocations: 35.42 kB / 1.422 GB, free: 34.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01786/1.831, allocations: 2.399 MB / 1.425 GB, free: 32.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.831, allocations: 101.2 kB / 1.425 GB, free: 32.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004209/1.832, allocations: 111.8 kB / 1.425 GB, free: 31.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006746/1.832, allocations: 0.5732 MB / 1.426 GB, free: 31.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.832, allocations: 0 / 1.426 GB, free: 31.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001853/1.834, allocations: 0.7261 MB / 1.426 GB, free: 30.68 MB / 1.014 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.06911/1.903, allocations: 13.68 MB / 1.44 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.06808/1.971, allocations: 13.42 MB / 1.453 GB, free: 3.727 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.971, allocations: 4 kB / 1.453 GB, free: 3.723 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.03518/2.007, allocations: 6.802 MB / 1.459 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/2.009, allocations: 332.8 kB / 1.46 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2268/2.235, allocations: 45.5 MB / 1.504 GB, free: 14.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009265/2.236, allocations: 1.191 MB / 1.505 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003944/2.24, allocations: 0.7313 MB / 1.506 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/2.243, allocations: 0.6786 MB / 1.507 GB, free: 12.27 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/2.243, allocations: 0 / 1.507 GB, free: 12.27 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/2.353, allocations: 49.94 MB / 1.555 GB, free: 10.41 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/16.24, allocations: 8.344 kB / 1.555 GB, free: 10.4 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches