Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_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.007512/0.007512, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001959/0.001959, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.339/2.339, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 62.03 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3734, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006822/0.3803, allocations: 5.257 MB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.5372, allocations: 151.4 MB / 1.24 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.5382, allocations: 19.88 kB / 1.24 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.5389, allocations: 202.1 kB / 1.241 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.5411, allocations: 0.6228 MB / 1.241 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.5435, allocations: 0.9953 MB / 1.242 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.5457, allocations: 1.89 MB / 1.244 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.547, allocations: 0.9103 MB / 1.245 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.5481, allocations: 0.7164 MB / 1.246 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.5492, allocations: 0.7742 MB / 1.246 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.5496, allocations: 188 kB / 1.247 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5509, allocations: 0.6713 MB / 1.247 GB, free: 13.69 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.5514, allocations: 486.6 kB / 1.248 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008718/0.5523, allocations: 0.8202 MB / 1.249 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.5549, allocations: 2.425 MB / 1.251 GB, free: 9.953 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5549, allocations: 0 / 1.251 GB, free: 9.953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.555, allocations: 0 / 1.251 GB, free: 9.953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.555, allocations: 4 kB / 1.251 GB, free: 9.949 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003375/0.5584, allocations: 1.938 MB / 1.253 GB, free: 7.949 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5584, allocations: 8.031 kB / 1.253 GB, free: 7.941 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/0.5586, allocations: 198.7 kB / 1.253 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009666/0.5683, allocations: 1.295 MB / 1.254 GB, free: 6.441 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.5702, allocations: 1.067 MB / 1.255 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.5703, allocations: 98.67 kB / 1.255 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.5705, allocations: 136 kB / 1.256 GB, free: 5.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/0.576, allocations: 2.205 MB / 1.258 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.5761, allocations: 0 / 1.258 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.5763, allocations: 56 kB / 1.258 GB, free: 2.777 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.5763, allocations: 32 kB / 1.258 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4758/1.052, allocations: 2.966 MB / 1.261 GB, free: 172.9 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009581/1.062, allocations: 5.035 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008715/1.07, allocations: 2.878 MB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003456/1.074, allocations: 1.13 MB / 1.27 GB, free: 170.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004387/1.074, allocations: 0.6101 MB / 1.27 GB, free: 169.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00408/1.079, allocations: 1.445 MB / 1.272 GB, free: 169 MB / 1.014 GB Notification: Performance of pre-optimization done (n=133): time 3.146e-06/1.079, allocations: 0 / 1.272 GB, free: 169 MB / 1.014 GB Notification: Performance of matching and sorting (n=133): time 0.01256/1.091, allocations: 3.626 MB / 1.275 GB, free: 167.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/1.091, allocations: 200.2 kB / 1.275 GB, free: 167.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.092, allocations: 0.8125 MB / 1.276 GB, free: 167.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.092, allocations: 49.92 kB / 1.276 GB, free: 167.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/1.093, allocations: 0.5295 MB / 1.277 GB, free: 166.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/1.093, allocations: 451.7 kB / 1.277 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/1.094, allocations: 255.1 kB / 1.277 GB, free: 166.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/1.094, allocations: 355.6 kB / 1.278 GB, free: 166.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/1.097, allocations: 1.026 MB / 1.279 GB, free: 165.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/1.101, allocations: 1.181 MB / 1.28 GB, free: 165.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/1.107, allocations: 2.038 MB / 1.282 GB, free: 164.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.107, allocations: 5.031 kB / 1.282 GB, free: 164.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008021/1.115, allocations: 2.432 MB / 1.284 GB, free: 163.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.115, allocations: 5.781 kB / 1.284 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.115, allocations: 6.047 kB / 1.284 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/1.116, allocations: 87.33 kB / 1.284 GB, free: 163.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.118, allocations: 421 kB / 1.285 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/1.12, allocations: 1.645 MB / 1.286 GB, free: 162.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.122, allocations: 288.4 kB / 1.287 GB, free: 162.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.123, allocations: 58.36 kB / 1.287 GB, free: 162.2 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 (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.0006932/1.123, allocations: 351.8 kB / 1.287 GB, free: 162 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/1.124, allocations: 119.7 kB / 1.287 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/1.132, allocations: 2.888 MB / 1.29 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.132, allocations: 19.88 kB / 1.29 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.132, allocations: 0 / 1.29 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.132, allocations: 7.5 kB / 1.29 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.134, allocations: 1.82 MB / 1.292 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.134, allocations: 1.594 kB / 1.292 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.136, allocations: 411.2 kB / 1.292 GB, free: 159.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/1.137, allocations: 75.66 kB / 1.292 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.137, allocations: 50.41 kB / 1.292 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/1.138, allocations: 1.681 MB / 1.294 GB, free: 158.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.138, allocations: 3.75 kB / 1.294 GB, free: 158.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/1.146, allocations: 2.587 MB / 1.296 GB, free: 156.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/1.147, allocations: 475.5 kB / 1.297 GB, free: 156.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.147, allocations: 27.59 kB / 1.297 GB, free: 156.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.149, allocations: 234.7 kB / 1.297 GB, free: 156.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.149, allocations: 102.3 kB / 1.297 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.149, allocations: 68.8 kB / 1.297 GB, free: 156.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007014/1.15, allocations: 0.5834 MB / 1.298 GB, free: 155.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.15, allocations: 0 / 1.298 GB, free: 155.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001224/1.151, allocations: 499.5 kB / 1.298 GB, free: 155.7 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,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.009066/1.16, allocations: 3.689 MB / 1.302 GB, free: 153.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007168/1.167, allocations: 2.495 MB / 1.304 GB, free: 152.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.167, allocations: 0 / 1.304 GB, free: 152.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003761/1.171, allocations: 1.397 MB / 1.306 GB, free: 151.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.173, allocations: 334.7 kB / 1.306 GB, free: 151.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/1.199, allocations: 12.91 MB / 1.319 GB, free: 141.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/1.2, allocations: 1.188 MB / 1.32 GB, free: 139.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001494/1.201, allocations: 489.4 kB / 1.32 GB, free: 139.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/1.202, allocations: 0.5773 MB / 1.321 GB, free: 138.8 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.202, allocations: 4 kB / 1.321 GB, free: 138.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/1.251, allocations: 32.67 MB / 1.353 GB, free: 106.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.38, allocations: 0.9375 kB / 1.353 GB, free: 106.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches