Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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 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.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_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.005608/0.005608, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 190.4 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.292/2.292, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.03 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2238, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006212/0.2301, allocations: 5.086 MB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.143/0.3731, allocations: 151.2 MB / 1.24 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.374, allocations: 19.88 kB / 1.24 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.3746, allocations: 198.1 kB / 1.24 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.3765, allocations: 0.5939 MB / 1.241 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.3786, allocations: 0.9766 MB / 1.242 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3802, allocations: 1.785 MB / 1.244 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.3811, allocations: 0.8063 MB / 1.244 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.3818, allocations: 0.658 MB / 1.245 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.3825, allocations: 0.7197 MB / 1.246 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.3827, allocations: 164 kB / 1.246 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009454/0.3836, allocations: 0.6323 MB / 1.247 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.384, allocations: 438.6 kB / 1.247 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.3846, allocations: 0.7462 MB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3865, allocations: 2.181 MB / 1.25 GB, free: 11.08 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3865, allocations: 0 / 1.25 GB, free: 11.08 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3865, allocations: 4 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.3865, allocations: 0 / 1.25 GB, free: 11.07 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003061/0.3896, allocations: 1.795 MB / 1.252 GB, free: 9.219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3897, allocations: 8.031 kB / 1.252 GB, free: 9.211 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.3899, allocations: 190 kB / 1.252 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009325/0.3992, allocations: 1.278 MB / 1.253 GB, free: 7.734 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.4009, allocations: 0.9729 MB / 1.254 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.401, allocations: 94.45 kB / 1.254 GB, free: 6.621 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.4012, allocations: 116 kB / 1.254 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.4062, allocations: 2.041 MB / 1.256 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.4062, allocations: 7.984 kB / 1.256 GB, free: 4.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.4064, allocations: 48 kB / 1.256 GB, free: 4.348 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.4064, allocations: 28 kB / 1.256 GB, free: 4.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.4143, allocations: 2.76 MB / 1.259 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4825/0.8968, allocations: 4.414 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008557/0.9054, allocations: 2.75 MB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.9087, allocations: 1.043 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.9092, allocations: 0.6071 MB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003863/0.913, allocations: 1.355 MB / 1.269 GB, free: 170.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=132): time 2.996e-06/0.9131, allocations: 0 / 1.269 GB, free: 170.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=132): time 0.01264/0.9257, allocations: 3.389 MB / 1.272 GB, free: 169.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.9258, allocations: 196 kB / 1.272 GB, free: 168.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.9268, allocations: 0.7708 MB / 1.273 GB, free: 168.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.9269, allocations: 53.23 kB / 1.273 GB, free: 168.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.9273, allocations: 480.6 kB / 1.274 GB, free: 168.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.9276, allocations: 430.5 kB / 1.274 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/0.9282, allocations: 254.2 kB / 1.274 GB, free: 167.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.9282, allocations: 351.8 kB / 1.275 GB, free: 167.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.9314, allocations: 0.9438 MB / 1.276 GB, free: 167.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/0.9349, allocations: 1.093 MB / 1.277 GB, free: 166.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/0.9413, allocations: 1.896 MB / 1.278 GB, free: 166.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9413, allocations: 5.188 kB / 1.278 GB, free: 166.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007565/0.9488, allocations: 2.275 MB / 1.281 GB, free: 165.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.9489, allocations: 6.062 kB / 1.281 GB, free: 165.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.9489, allocations: 3.016 kB / 1.281 GB, free: 165.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.9495, allocations: 84.95 kB / 1.281 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.9519, allocations: 428.3 kB / 1.281 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.9537, allocations: 1.637 MB / 1.283 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.9558, allocations: 280.5 kB / 1.283 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.956, allocations: 58.5 kB / 1.283 GB, free: 163.9 MB / 1.014 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 (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 (142): * Single equations (assignments): 141 * 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.0006236/0.9566, allocations: 336.3 kB / 1.283 GB, free: 163.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.9569, allocations: 117.7 kB / 1.284 GB, free: 163.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/0.9652, allocations: 2.715 MB / 1.286 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.9653, allocations: 18.67 kB / 1.286 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9653, allocations: 1.969 kB / 1.286 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.9653, allocations: 6.703 kB / 1.286 GB, free: 162.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009493/0.9748, allocations: 4.322 MB / 1.29 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9748, allocations: 4 kB / 1.29 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/0.9771, allocations: 405.8 kB / 1.291 GB, free: 160.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.9776, allocations: 76.25 kB / 1.291 GB, free: 160.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.9777, allocations: 55.06 kB / 1.291 GB, free: 160.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.9792, allocations: 1.671 MB / 1.293 GB, free: 159.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9792, allocations: 8 kB / 1.293 GB, free: 159.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007508/0.9868, allocations: 2.481 MB / 1.295 GB, free: 157.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009846/0.9878, allocations: 425.3 kB / 1.295 GB, free: 157.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.9881, allocations: 27.88 kB / 1.295 GB, free: 157.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.9902, allocations: 235.1 kB / 1.296 GB, free: 157.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.9904, allocations: 105.8 kB / 1.296 GB, free: 157.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.9905, allocations: 64.92 kB / 1.296 GB, free: 157.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007543/0.9913, allocations: 0.553 MB / 1.296 GB, free: 156.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9913, allocations: 5.406 kB / 1.296 GB, free: 156.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001353/0.9927, allocations: 483.2 kB / 1.297 GB, free: 156.8 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.008778/1.001, allocations: 3.578 MB / 1.3 GB, free: 154.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007004/1.008, allocations: 2.32 MB / 1.303 GB, free: 153.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.008, allocations: 1.75 kB / 1.303 GB, free: 153.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/1.012, allocations: 1.305 MB / 1.304 GB, free: 153 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.013, allocations: 334.7 kB / 1.304 GB, free: 152.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/1.039, allocations: 12.1 MB / 1.316 GB, free: 143.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/1.039, allocations: 1.168 MB / 1.317 GB, free: 142.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001399/1.041, allocations: 469.1 kB / 1.318 GB, free: 141.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/1.042, allocations: 0.5524 MB / 1.318 GB, free: 141.3 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.042, allocations: 0 / 1.318 GB, free: 141.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/1.087, allocations: 31.09 MB / 1.348 GB, free: 110.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.24, allocations: 3.984 kB / 1.348 GB, free: 110.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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,fin.fraSun Variables in the result:time,altAng.alt,fin.fraSun,incAng.y,walSolAzi.verAzi,weaDat.weaBus.HDifHor