Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_10_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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 67.89 kB / 0.8694 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5327, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007358/0.5401, allocations: 6.065 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.6886, allocations: 151.9 MB / 1.172 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008852/0.6896, allocations: 19.88 kB / 1.172 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.6903, allocations: 229.8 kB / 1.172 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.6925, allocations: 0.6716 MB / 1.173 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.6947, allocations: 1.002 MB / 1.174 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.6967, allocations: 1.932 MB / 1.175 GB, free: 72 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.6979, allocations: 0.8277 MB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009729/0.6989, allocations: 0.7048 MB / 1.177 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.6999, allocations: 0.7743 MB / 1.178 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.7003, allocations: 172 kB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.7015, allocations: 0.6518 MB / 1.179 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.7019, allocations: 434.7 kB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008097/0.7027, allocations: 0.7969 MB / 1.18 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.705, allocations: 2.243 MB / 1.182 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.705, allocations: 0 / 1.182 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.705, allocations: 0 / 1.182 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.705, allocations: 0 / 1.182 GB, free: 9.426 MB / 0.9356 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.003209/0.7082, allocations: 1.845 MB / 1.184 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.7083, allocations: 8.031 kB / 1.184 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.7085, allocations: 190 kB / 1.184 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1161/0.8246, allocations: 15.38 MB / 1.199 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.8268, allocations: 1.203 MB / 1.2 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.8269, allocations: 94.47 kB / 1.2 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000404/0.8273, allocations: 123.9 kB / 1.2 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03774/0.8651, allocations: 7.677 MB / 1.208 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.8651, allocations: 0 / 1.208 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.8655, allocations: 55.94 kB / 1.208 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.8655, allocations: 28 kB / 1.208 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07172/0.9373, allocations: 13.58 MB / 1.221 GB, free: 1.02 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04333/0.9806, allocations: 9.864 MB / 1.231 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04277/1.023, allocations: 7.91 MB / 1.238 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03515/1.059, allocations: 6.191 MB / 1.245 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/1.059, allocations: 0.5984 MB / 1.245 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03609/1.095, allocations: 6.76 MB / 1.252 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 3.266e-06/1.095, allocations: 0 / 1.252 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.5271/1.622, allocations: 18.17 MB / 1.269 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/1.623, allocations: 196.8 kB / 1.27 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009489/1.623, allocations: 0.7647 MB / 1.27 GB, free: 230 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/1.624, allocations: 48.45 kB / 1.27 GB, free: 230 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/1.624, allocations: 0.5002 MB / 1.271 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/1.625, allocations: 363.7 kB / 1.271 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000949/1.625, allocations: 354.8 kB / 1.272 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.424e-05/1.626, allocations: 347.9 kB / 1.272 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03479/1.66, allocations: 6.3 MB / 1.278 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03342/1.694, allocations: 6.444 MB / 1.284 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0615/1.755, allocations: 10.9 MB / 1.295 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.755, allocations: 1.312 kB / 1.295 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06531/1.821, allocations: 12.22 MB / 1.307 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.821, allocations: 7.984 kB / 1.307 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.821, allocations: 0.6562 kB / 1.307 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.821, allocations: 81.78 kB / 1.307 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01826/1.84, allocations: 2.663 MB / 1.31 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/1.841, allocations: 1.645 MB / 1.311 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01802/1.859, allocations: 2.448 MB / 1.314 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/1.86, allocations: 103.8 kB / 1.314 GB, free: 191.3 MB / 0.9981 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.0008919/1.86, allocations: 319.9 kB / 1.314 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.861, allocations: 112.6 kB / 1.314 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06627/1.927, allocations: 12.72 MB / 1.327 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.927, allocations: 16 kB / 1.327 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.927, allocations: 0 / 1.327 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.927, allocations: 7.969 kB / 1.327 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.929, allocations: 1.87 MB / 1.328 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.929, allocations: 4 kB / 1.328 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01833/1.947, allocations: 2.648 MB / 1.331 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/1.948, allocations: 76.78 kB / 1.331 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000254/1.948, allocations: 87.81 kB / 1.331 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/1.95, allocations: 1.661 MB / 1.333 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.95, allocations: 4.031 kB / 1.333 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06604/2.016, allocations: 12.09 MB / 1.345 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/2.017, allocations: 0.6629 MB / 1.345 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004652/2.017, allocations: 27.98 kB / 1.345 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01757/2.035, allocations: 2.406 MB / 1.348 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/2.035, allocations: 93.17 kB / 1.348 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002918/2.035, allocations: 111.8 kB / 1.348 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000585/2.036, allocations: 0.542 MB / 1.348 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/2.036, allocations: 1.031 kB / 1.348 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001642/2.038, allocations: 0.7108 MB / 1.349 GB, free: 154.9 MB / 0.9981 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.06665/2.104, allocations: 13.2 MB / 1.362 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06822/2.172, allocations: 13.25 MB / 1.375 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/2.173, allocations: 0 / 1.375 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0339/2.206, allocations: 6.505 MB / 1.381 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/2.208, allocations: 345.1 kB / 1.382 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2051/2.413, allocations: 43.73 MB / 1.424 GB, free: 77.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/2.414, allocations: 1.154 MB / 1.425 GB, free: 76.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003477/2.417, allocations: 0.7233 MB / 1.426 GB, free: 75.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/2.419, allocations: 0.6395 MB / 1.427 GB, free: 75.27 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/2.419, allocations: 0 / 1.427 GB, free: 75.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/2.481, allocations: 46.69 MB / 1.472 GB, free: 28.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/14.27, allocations: 8 kB / 1.472 GB, free: 28.87 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.alt,ove.fraSun,walSolAzi.verAzi,weaBus.HDifHor