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.007445/0.007445, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001646/0.001646, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7012, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007103/0.7084, allocations: 5.337 MB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.878, allocations: 151.6 MB / 1.241 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.8793, allocations: 22.81 kB / 1.241 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009403/0.8803, allocations: 203 kB / 1.241 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.883, allocations: 0.6073 MB / 1.242 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.8859, allocations: 1.038 MB / 1.243 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.8883, allocations: 1.944 MB / 1.244 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.8897, allocations: 0.9845 MB / 1.245 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.8909, allocations: 0.7551 MB / 1.246 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.8921, allocations: 0.8287 MB / 1.247 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.8926, allocations: 208 kB / 1.247 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.8941, allocations: 0.7026 MB / 1.248 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.8947, allocations: 494.6 kB / 1.248 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.8958, allocations: 0.863 MB / 1.249 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.8988, allocations: 2.551 MB / 1.252 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.8988, allocations: 0 / 1.252 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8988, allocations: 0 / 1.252 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.057e-05/0.8989, allocations: 3.984 kB / 1.252 GB, free: 5.609 MB / 0.9825 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.004069/0.903, allocations: 1.944 MB / 1.254 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.903, allocations: 12.03 kB / 1.254 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.9032, allocations: 203 kB / 1.254 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.116/1.019, allocations: 15.38 MB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/1.023, allocations: 1.418 MB / 1.27 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.023, allocations: 102.8 kB / 1.27 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007996/1.024, allocations: 132 kB / 1.27 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04019/1.064, allocations: 8.045 MB / 1.278 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.145e-05/1.064, allocations: 0 / 1.278 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007004/1.065, allocations: 56 kB / 1.278 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/1.065, allocations: 36 kB / 1.278 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07558/1.14, allocations: 14.14 MB / 1.292 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04904/1.189, allocations: 11.09 MB / 1.303 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04378/1.233, allocations: 8.292 MB / 1.311 GB, free: 8.438 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03535/1.269, allocations: 6.491 MB / 1.317 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/1.269, allocations: 0.6022 MB / 1.318 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03702/1.306, allocations: 7.06 MB / 1.325 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=115): time 5.861e-06/1.306, allocations: 0 / 1.325 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=115): time 0.1082/1.414, allocations: 18.94 MB / 1.343 GB, free: 7.121 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/1.415, allocations: 196.9 kB / 1.344 GB, free: 6.887 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.416, allocations: 0.8177 MB / 1.344 GB, free: 6.062 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006466/1.417, allocations: 45.7 kB / 1.344 GB, free: 6.012 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/1.417, allocations: 0.5392 MB / 1.345 GB, free: 5.465 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008634/1.418, allocations: 378.5 kB / 1.345 GB, free: 5.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/1.42, allocations: 354.5 kB / 1.346 GB, free: 4.738 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.42, allocations: 357.9 kB / 1.346 GB, free: 4.383 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03615/1.456, allocations: 6.545 MB / 1.352 GB, free: 13.83 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03633/1.492, allocations: 6.698 MB / 1.359 GB, free: 7.09 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06648/1.559, allocations: 11.2 MB / 1.37 GB, free: 11.86 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/1.559, allocations: 0 / 1.37 GB, free: 11.86 MB / 1.107 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07173/1.631, allocations: 12.62 MB / 1.382 GB, free: 15.22 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.631, allocations: 7.984 kB / 1.382 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.631, allocations: 4 kB / 1.382 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/1.631, allocations: 84.78 kB / 1.382 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02026/1.652, allocations: 2.667 MB / 1.385 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.654, allocations: 1.646 MB / 1.386 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01965/1.674, allocations: 2.452 MB / 1.389 GB, free: 8.195 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007734/1.675, allocations: 107.8 kB / 1.389 GB, free: 8.09 MB / 1.123 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.002029/1.677, allocations: 355.2 kB / 1.389 GB, free: 7.734 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.678, allocations: 106.7 kB / 1.389 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07515/1.753, allocations: 13.18 MB / 1.402 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.753, allocations: 19.98 kB / 1.402 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.753, allocations: 3.938 kB / 1.402 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.753, allocations: 7.922 kB / 1.402 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/1.756, allocations: 2.462 MB / 1.405 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.756, allocations: 3.984 kB / 1.405 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02001/1.776, allocations: 2.66 MB / 1.407 GB, free: 5.203 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/1.777, allocations: 68.8 kB / 1.407 GB, free: 5.133 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006401/1.777, allocations: 95.8 kB / 1.407 GB, free: 5.039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.78, allocations: 1.674 MB / 1.409 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.78, allocations: 0 / 1.409 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07247/1.852, allocations: 12.57 MB / 1.421 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/1.854, allocations: 0.7996 MB / 1.422 GB, free: 5.789 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007353/1.855, allocations: 35.83 kB / 1.422 GB, free: 5.754 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01934/1.874, allocations: 2.398 MB / 1.425 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/1.875, allocations: 101.1 kB / 1.425 GB, free: 3.254 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005867/1.875, allocations: 111.8 kB / 1.425 GB, free: 3.145 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001011/1.876, allocations: 0.5732 MB / 1.425 GB, free: 2.574 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.4e-07/1.876, allocations: 4 kB / 1.425 GB, free: 2.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00253/1.879, allocations: 0.7137 MB / 1.426 GB, free: 1.855 MB / 1.154 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.0746/1.953, allocations: 13.67 MB / 1.439 GB, free: 4.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.07412/2.028, allocations: 13.43 MB / 1.452 GB, free: 6.867 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/2.028, allocations: 4 kB / 1.452 GB, free: 6.863 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.03759/2.065, allocations: 6.806 MB / 1.459 GB, free: 36 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/2.068, allocations: 334.1 kB / 1.459 GB, free: 15.73 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2297/2.297, allocations: 45.46 MB / 1.504 GB, free: 2.066 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009465/2.298, allocations: 1.19 MB / 1.505 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003897/2.302, allocations: 0.7352 MB / 1.506 GB, free: 108 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/2.305, allocations: 0.6748 MB / 1.506 GB, free: 15.43 MB / 1.248 GB Notification: Performance of SimCode: time 8.81e-07/2.305, allocations: 0 / 1.506 GB, free: 15.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09/2.395, allocations: 49.94 MB / 1.555 GB, free: 13.65 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/15.79, allocations: 7.938 kB / 1.555 GB, free: 13.65 MB / 1.295 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