Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_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.001564/0.001564, allocations: 108 kB / 15.61 MB, free: 148 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.001825/0.001825, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.03 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007562/0.2546, allocations: 6.044 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.3974, allocations: 151.9 MB / 1.218 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.3982, allocations: 19.88 kB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.399, allocations: 229.8 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.401, allocations: 0.6609 MB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.4032, allocations: 1.003 MB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.405, allocations: 1.936 MB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.4061, allocations: 0.8121 MB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008726/0.407, allocations: 0.7009 MB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009272/0.4079, allocations: 0.786 MB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.4082, allocations: 172 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4093, allocations: 0.644 MB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.4097, allocations: 442.7 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.4105, allocations: 0.7969 MB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.4126, allocations: 2.243 MB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4126, allocations: 0 / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4126, allocations: 0 / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.802e-05/0.4127, allocations: 0 / 1.228 GB, free: 5.461 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00352/0.4162, allocations: 1.856 MB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4162, allocations: 8.031 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.4165, allocations: 194 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1136/0.5301, allocations: 15.37 MB / 1.245 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.5324, allocations: 1.203 MB / 1.246 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.5325, allocations: 98.41 kB / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000471/0.533, allocations: 120 kB / 1.247 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4563/0.9893, allocations: 7.67 MB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.9894, allocations: 0.7969 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003979/0.9898, allocations: 51.12 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.9898, allocations: 30.14 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0712/1.061, allocations: 13.58 MB / 1.267 GB, free: 184.2 MB / 0.9981 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.04079/1.102, allocations: 9.861 MB / 1.277 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0398/1.142, allocations: 7.91 MB / 1.285 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03218/1.174, allocations: 6.197 MB / 1.291 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/1.174, allocations: 0.6011 MB / 1.291 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03245/1.207, allocations: 6.75 MB / 1.298 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=113): time 3.627e-06/1.207, allocations: 0 / 1.298 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=113): time 0.09521/1.302, allocations: 18.18 MB / 1.316 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/1.302, allocations: 196.9 kB / 1.316 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/1.303, allocations: 0.7627 MB / 1.317 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002728/1.303, allocations: 53.7 kB / 1.317 GB, free: 148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/1.303, allocations: 0.4963 MB / 1.317 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/1.304, allocations: 371 kB / 1.318 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009043/1.305, allocations: 350.5 kB / 1.318 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.577e-05/1.305, allocations: 345.9 kB / 1.318 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03177/1.337, allocations: 6.299 MB / 1.324 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03148/1.368, allocations: 6.453 MB / 1.331 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05949/1.428, allocations: 10.9 MB / 1.341 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.428, allocations: 0 / 1.341 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06301/1.491, allocations: 12.21 MB / 1.353 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.491, allocations: 7.938 kB / 1.353 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.491, allocations: 3.938 kB / 1.353 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/1.491, allocations: 80.84 kB / 1.353 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01806/1.509, allocations: 2.671 MB / 1.356 GB, free: 107.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/1.511, allocations: 1.631 MB / 1.357 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01723/1.528, allocations: 2.453 MB / 1.36 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/1.529, allocations: 104.6 kB / 1.36 GB, free: 103.4 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.0009402/1.53, allocations: 317.4 kB / 1.36 GB, free: 103.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/1.53, allocations: 110.7 kB / 1.36 GB, free: 103 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07566/1.606, allocations: 12.72 MB / 1.373 GB, free: 90.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.606, allocations: 21 kB / 1.373 GB, free: 90.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.606, allocations: 4.562 kB / 1.373 GB, free: 90.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/1.606, allocations: 3.984 kB / 1.373 GB, free: 90.19 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/1.608, allocations: 1.863 MB / 1.375 GB, free: 88.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.608, allocations: 0 / 1.375 GB, free: 88.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01874/1.627, allocations: 2.656 MB / 1.377 GB, free: 85.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/1.627, allocations: 75.86 kB / 1.377 GB, free: 85.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003468/1.628, allocations: 95.73 kB / 1.377 GB, free: 85.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/1.629, allocations: 1.666 MB / 1.379 GB, free: 83.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.629, allocations: 0.625 kB / 1.379 GB, free: 83.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.064/1.693, allocations: 12.09 MB / 1.391 GB, free: 71.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.694, allocations: 0.659 MB / 1.391 GB, free: 70.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/1.695, allocations: 27.98 kB / 1.392 GB, free: 70.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01729/1.712, allocations: 2.41 MB / 1.394 GB, free: 68.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.712, allocations: 97.17 kB / 1.394 GB, free: 68.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.713, allocations: 111.8 kB / 1.394 GB, free: 68.22 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005527/1.713, allocations: 0.5381 MB / 1.395 GB, free: 67.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.713, allocations: 0 / 1.395 GB, free: 67.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001619/1.715, allocations: 0.7167 MB / 1.395 GB, free: 66.99 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.0659/1.781, allocations: 13.2 MB / 1.408 GB, free: 54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06739/1.848, allocations: 13.25 MB / 1.421 GB, free: 40.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.848, allocations: 0 / 1.421 GB, free: 40.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0332/1.882, allocations: 6.513 MB / 1.427 GB, free: 34.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.883, allocations: 328.6 kB / 1.428 GB, free: 33.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.204/2.087, allocations: 43.73 MB / 1.471 GB, free: 5.898 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007553/2.088, allocations: 1.148 MB / 1.472 GB, free: 4.719 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004202/2.092, allocations: 0.7353 MB / 1.472 GB, free: 3.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/2.094, allocations: 0.6356 MB / 1.473 GB, free: 3.344 MB / 1.014 GB Notification: Performance of SimCode: time 6.32e-07/2.094, allocations: 0 / 1.473 GB, free: 3.344 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08149/2.176, allocations: 46.7 MB / 1.519 GB, free: 4.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/14.31, allocations: 10.53 kB / 1.519 GB, free: 4.922 MB / 1.061 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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