Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",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.001825/0.001825, allocations: 108 kB / 15.6 MB, free: 132 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.001915/0.001915, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001564, allocations: 69.5 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3176, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009086/0.3267, allocations: 6.239 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.4935, allocations: 151.5 MB / 1.218 GB, free: 84 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.4946, allocations: 27.88 kB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.4955, allocations: 237.8 kB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.498, allocations: 0.6903 MB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.5004, allocations: 0.9949 MB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.5027, allocations: 2.037 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.5041, allocations: 0.868 MB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.5052, allocations: 0.7398 MB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.5064, allocations: 0.7912 MB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.5068, allocations: 196 kB / 1.224 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.5082, allocations: 0.6363 MB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004987/0.5087, allocations: 486.5 kB / 1.225 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.5095, allocations: 0.8514 MB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.5121, allocations: 2.419 MB / 1.228 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5121, allocations: 0 / 1.228 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5121, allocations: 3.938 kB / 1.228 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.5121, allocations: 0 / 1.228 GB, free: 5.066 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003365/0.5155, allocations: 1.917 MB / 1.23 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5155, allocations: 8.031 kB / 1.23 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.5158, allocations: 202.7 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009675/0.5255, allocations: 1.282 MB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.5271, allocations: 1.035 MB / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/0.5272, allocations: 98.67 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.5274, allocations: 132 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00539/0.5328, allocations: 2.213 MB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.5329, allocations: 0 / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.5331, allocations: 60 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.5331, allocations: 32 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008578/0.5417, allocations: 2.968 MB / 1.238 GB, free: 10.94 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.01009/0.5518, allocations: 5.392 MB / 1.243 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008945/0.5607, allocations: 2.884 MB / 1.246 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/0.5642, allocations: 1.129 MB / 1.247 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.5647, allocations: 0.6144 MB / 1.248 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.505/1.07, allocations: 1.445 MB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 5.22e-06/1.07, allocations: 0 / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01267/1.082, allocations: 3.63 MB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/1.083, allocations: 194.9 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.084, allocations: 0.8177 MB / 1.254 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/1.084, allocations: 55.39 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/1.084, allocations: 0.5167 MB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/1.085, allocations: 428.9 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004706/1.085, allocations: 255.2 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/1.085, allocations: 358.8 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/1.088, allocations: 1.031 MB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/1.092, allocations: 1.178 MB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006335/1.098, allocations: 2.039 MB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.098, allocations: 3.156 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007642/1.106, allocations: 2.433 MB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.106, allocations: 5.25 kB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.106, allocations: 0.6562 kB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/1.106, allocations: 85.94 kB / 1.262 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/1.109, allocations: 424.8 kB / 1.262 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/1.111, allocations: 1.646 MB / 1.264 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.113, allocations: 283.5 kB / 1.264 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.113, allocations: 62.72 kB / 1.264 GB, free: 182.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (143): * Single equations (assignments): 142 * 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.0006856/1.114, allocations: 347.4 kB / 1.265 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/1.114, allocations: 116.8 kB / 1.265 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009283/1.124, allocations: 2.889 MB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.124, allocations: 15.27 kB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.124, allocations: 3.938 kB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/1.124, allocations: 8.562 kB / 1.268 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/1.126, allocations: 1.813 MB / 1.269 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.126, allocations: 0 / 1.269 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/1.129, allocations: 416.2 kB / 1.27 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/1.129, allocations: 78.06 kB / 1.27 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/1.129, allocations: 47.81 kB / 1.27 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.131, allocations: 1.682 MB / 1.272 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.131, allocations: 0 / 1.272 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008168/1.139, allocations: 2.579 MB / 1.274 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/1.14, allocations: 465.5 kB / 1.275 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/1.141, allocations: 30.12 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.143, allocations: 231.6 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/1.143, allocations: 100.9 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.143, allocations: 69.2 kB / 1.275 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008049/1.144, allocations: 0.5857 MB / 1.276 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.144, allocations: 4 kB / 1.276 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001349/1.145, allocations: 0.5072 MB / 1.276 GB, free: 177.2 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,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 (148): * Single equations (assignments): 141 * 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.00908/1.154, allocations: 3.67 MB / 1.28 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009154/1.164, allocations: 3.071 MB / 1.283 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.164, allocations: 0 / 1.283 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003676/1.167, allocations: 1.402 MB / 1.284 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.169, allocations: 348.2 kB / 1.284 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/1.197, allocations: 13.18 MB / 1.297 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/1.198, allocations: 1.191 MB / 1.298 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001784/1.2, allocations: 0.4906 MB / 1.299 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/1.201, allocations: 0.5786 MB / 1.299 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/1.201, allocations: 0 / 1.299 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05001/1.251, allocations: 32.89 MB / 1.332 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.87, allocations: 11.36 kB / 1.332 GB, free: 132.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_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_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches