Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_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.006806/0.006806, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001689/0.001689, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.294/2.294, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.36 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2269, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.006342/0.2333, allocations: 5.079 MB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1459/0.3792, allocations: 151.5 MB / 1.24 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008488/0.3801, allocations: 23.88 kB / 1.24 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.3808, allocations: 194.1 kB / 1.241 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.3828, allocations: 0.577 MB / 1.241 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.385, allocations: 1.008 MB / 1.242 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.3869, allocations: 1.777 MB / 1.244 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.388, allocations: 0.8701 MB / 1.245 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.3889, allocations: 0.6775 MB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009552/0.3899, allocations: 0.7547 MB / 1.246 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.3902, allocations: 172 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.3914, allocations: 0.6751 MB / 1.247 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.3918, allocations: 438.7 kB / 1.247 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008082/0.3927, allocations: 0.7579 MB / 1.248 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.3948, allocations: 2.24 MB / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3949, allocations: 0 / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3949, allocations: 0 / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.3949, allocations: 0 / 1.25 GB, free: 10.6 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003143/0.398, allocations: 1.829 MB / 1.252 GB, free: 8.715 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3981, allocations: 8.031 kB / 1.252 GB, free: 8.707 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.3983, allocations: 186 kB / 1.252 GB, free: 8.516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5973/0.9955, allocations: 15.37 MB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.9982, allocations: 1.232 MB / 1.269 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.9983, allocations: 95.19 kB / 1.269 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/0.9988, allocations: 121.9 kB / 1.269 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03893/1.038, allocations: 7.678 MB / 1.276 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/1.038, allocations: 3.938 kB / 1.276 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/1.038, allocations: 52.5 kB / 1.276 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.038, allocations: 30 kB / 1.276 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07042/1.109, allocations: 13.57 MB / 1.29 GB, free: 164.7 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04241/1.151, allocations: 9.492 MB / 1.299 GB, free: 158.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0401/1.191, allocations: 7.904 MB / 1.307 GB, free: 154.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03207/1.223, allocations: 6.198 MB / 1.313 GB, free: 147.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/1.224, allocations: 0.6014 MB / 1.313 GB, free: 147.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03455/1.258, allocations: 6.753 MB / 1.32 GB, free: 140.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=113): time 3.497e-06/1.258, allocations: 4 kB / 1.32 GB, free: 140.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=113): time 0.09909/1.357, allocations: 18.17 MB / 1.338 GB, free: 122.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/1.357, allocations: 192.9 kB / 1.338 GB, free: 121.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/1.358, allocations: 0.7667 MB / 1.338 GB, free: 121.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004171/1.359, allocations: 49.7 kB / 1.339 GB, free: 121.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/1.359, allocations: 0.4926 MB / 1.339 GB, free: 120.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/1.359, allocations: 361.8 kB / 1.339 GB, free: 120.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/1.36, allocations: 358.4 kB / 1.34 GB, free: 119.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/1.36, allocations: 353.9 kB / 1.34 GB, free: 119.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03316/1.394, allocations: 6.295 MB / 1.346 GB, free: 113.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03293/1.427, allocations: 6.441 MB / 1.352 GB, free: 106.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06114/1.488, allocations: 10.89 MB / 1.363 GB, free: 95.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.488, allocations: 4 kB / 1.363 GB, free: 95.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0678/1.556, allocations: 12.21 MB / 1.375 GB, free: 83.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.556, allocations: 8 kB / 1.375 GB, free: 83.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.556, allocations: 4.328 kB / 1.375 GB, free: 83.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/1.556, allocations: 84.83 kB / 1.375 GB, free: 83.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01885/1.575, allocations: 2.671 MB / 1.378 GB, free: 80.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/1.577, allocations: 1.625 MB / 1.379 GB, free: 79.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01866/1.595, allocations: 2.464 MB / 1.382 GB, free: 76.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/1.596, allocations: 100.8 kB / 1.382 GB, free: 76.48 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.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.001063/1.597, allocations: 315.3 kB / 1.382 GB, free: 76.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/1.597, allocations: 102.8 kB / 1.382 GB, free: 76.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06807/1.666, allocations: 12.72 MB / 1.395 GB, free: 63.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.666, allocations: 12 kB / 1.395 GB, free: 63.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.666, allocations: 0 / 1.395 GB, free: 63.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.666, allocations: 11.91 kB / 1.395 GB, free: 63.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.668, allocations: 1.874 MB / 1.396 GB, free: 61.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.668, allocations: 0 / 1.396 GB, free: 61.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01866/1.686, allocations: 2.656 MB / 1.399 GB, free: 58.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/1.687, allocations: 76.72 kB / 1.399 GB, free: 58.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/1.687, allocations: 95.81 kB / 1.399 GB, free: 58.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/1.689, allocations: 1.654 MB / 1.401 GB, free: 56.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.689, allocations: 4.062 kB / 1.401 GB, free: 56.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06702/1.756, allocations: 12.08 MB / 1.413 GB, free: 44.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.757, allocations: 0.6668 MB / 1.413 GB, free: 43.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/1.758, allocations: 31.97 kB / 1.413 GB, free: 43.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01799/1.776, allocations: 2.403 MB / 1.416 GB, free: 41.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.776, allocations: 104.5 kB / 1.416 GB, free: 41.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/1.776, allocations: 99.81 kB / 1.416 GB, free: 41.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006014/1.777, allocations: 0.5498 MB / 1.416 GB, free: 40.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.777, allocations: 4 kB / 1.416 GB, free: 40.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001683/1.779, allocations: 0.7012 MB / 1.417 GB, free: 40.11 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,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.06742/1.846, allocations: 13.18 MB / 1.43 GB, free: 27.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0666/1.913, allocations: 12.88 MB / 1.443 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.913, allocations: 4.062 kB / 1.443 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.03413/1.947, allocations: 6.497 MB / 1.449 GB, free: 7.703 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.949, allocations: 323.5 kB / 1.449 GB, free: 7.414 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2179/2.166, allocations: 43.44 MB / 1.492 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/2.167, allocations: 1.156 MB / 1.493 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003378/2.171, allocations: 0.7233 MB / 1.493 GB, free: 9.898 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/2.173, allocations: 0.6278 MB / 1.494 GB, free: 9.27 MB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/2.173, allocations: 0 / 1.494 GB, free: 9.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07726/2.25, allocations: 46.31 MB / 1.539 GB, free: 11.08 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.66, allocations: 14.52 kB / 1.539 GB, free: 11.07 MB / 1.107 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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_BaseClasses_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,ove.fraSun Variables in the result:time,incAng.y,ove.fraSun,walSolAzi.verAzi,weaBus.HDifHor,weaBus.HDirNor