Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_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.00688/0.00688, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001964/0.001964, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 59.91 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2681, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007873/0.276, allocations: 5.819 MB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6542/0.9303, allocations: 151.3 MB / 1.374 GB, free: 9.797 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.9311, allocations: 20.47 kB / 1.374 GB, free: 9.789 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.9319, allocations: 220.2 kB / 1.374 GB, free: 9.648 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.9339, allocations: 0.6612 MB / 1.375 GB, free: 9.266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.9361, allocations: 0.977 MB / 1.375 GB, free: 8.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002164/0.9382, allocations: 1.904 MB / 1.377 GB, free: 7.797 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.9394, allocations: 0.7725 MB / 1.378 GB, free: 7.391 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.9404, allocations: 0.6728 MB / 1.379 GB, free: 7.062 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.9415, allocations: 0.7401 MB / 1.379 GB, free: 6.688 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.9418, allocations: 162.9 kB / 1.38 GB, free: 6.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.9431, allocations: 0.6416 MB / 1.38 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.9436, allocations: 438.7 kB / 1.381 GB, free: 6.266 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009884/0.9446, allocations: 0.7708 MB / 1.381 GB, free: 5.707 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.9473, allocations: 2.221 MB / 1.384 GB, free: 4.113 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9474, allocations: 4.719 kB / 1.384 GB, free: 4.109 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9474, allocations: 0 / 1.384 GB, free: 4.109 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.431e-05/0.9474, allocations: 5 kB / 1.384 GB, free: 4.105 MB / 1.076 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.003486/0.9509, allocations: 1.865 MB / 1.385 GB, free: 2.668 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9509, allocations: 9.156 kB / 1.385 GB, free: 2.668 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002347/0.9512, allocations: 180.9 kB / 1.386 GB, free: 2.523 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009478/0.9607, allocations: 1.293 MB / 1.387 GB, free: 1.898 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.9622, allocations: 0.9875 MB / 1.388 GB, free: 1.117 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.9623, allocations: 92.27 kB / 1.388 GB, free: 1.074 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.9625, allocations: 115.8 kB / 1.388 GB, free: 1.039 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005285/0.9678, allocations: 2.038 MB / 1.39 GB, free: 15.8 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.9678, allocations: 4 kB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.968, allocations: 47.81 kB / 1.39 GB, free: 15.76 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.968, allocations: 30.06 kB / 1.39 GB, free: 15.76 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008278/0.9763, allocations: 2.756 MB / 1.393 GB, free: 14.41 MB / 1.092 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.008682/0.985, allocations: 4.719 MB / 1.397 GB, free: 10.86 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008584/0.9936, allocations: 2.743 MB / 1.4 GB, free: 9.426 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.9969, allocations: 1.048 MB / 1.401 GB, free: 8.887 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.9975, allocations: 0.6045 MB / 1.402 GB, free: 8.195 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/1.001, allocations: 1.352 MB / 1.403 GB, free: 7.391 MB / 1.092 GB Notification: Performance of pre-optimization done (n=132): time 2.875e-06/1.001, allocations: 1.812 kB / 1.403 GB, free: 7.391 MB / 1.092 GB Notification: Performance of matching and sorting (n=132): time 0.01172/1.013, allocations: 3.391 MB / 1.406 GB, free: 5.633 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.013, allocations: 198.1 kB / 1.406 GB, free: 5.406 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009247/1.014, allocations: 0.773 MB / 1.407 GB, free: 4.969 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/1.014, allocations: 49.05 kB / 1.407 GB, free: 4.922 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/1.015, allocations: 493.6 kB / 1.408 GB, free: 4.492 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/1.015, allocations: 455.2 kB / 1.408 GB, free: 4.098 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/1.016, allocations: 255.5 kB / 1.408 GB, free: 3.945 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.016, allocations: 355.3 kB / 1.409 GB, free: 3.605 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.019, allocations: 0.9385 MB / 1.41 GB, free: 2.777 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/1.023, allocations: 1.1 MB / 1.411 GB, free: 1.648 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006855/1.03, allocations: 1.899 MB / 1.413 GB, free: 15.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.03, allocations: 4 kB / 1.413 GB, free: 15.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008103/1.038, allocations: 2.277 MB / 1.415 GB, free: 13.44 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.038, allocations: 8 kB / 1.415 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.038, allocations: 4.062 kB / 1.415 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/1.039, allocations: 80.77 kB / 1.415 GB, free: 13.34 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.041, allocations: 427.3 kB / 1.415 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/1.043, allocations: 1.634 MB / 1.417 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.046, allocations: 279.5 kB / 1.417 GB, free: 10.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.046, allocations: 60.11 kB / 1.417 GB, free: 10.81 MB / 1.107 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.0005748/1.046, allocations: 335.3 kB / 1.418 GB, free: 10.47 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/1.047, allocations: 115.2 kB / 1.418 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/1.056, allocations: 2.726 MB / 1.42 GB, free: 7.625 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.056, allocations: 19.94 kB / 1.42 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.056, allocations: 0 / 1.42 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.056, allocations: 7.969 kB / 1.42 GB, free: 7.598 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/1.067, allocations: 4.311 MB / 1.425 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.067, allocations: 0 / 1.425 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/1.069, allocations: 411.3 kB / 1.425 GB, free: 2.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/1.07, allocations: 76.78 kB / 1.425 GB, free: 2.742 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/1.07, allocations: 51.94 kB / 1.425 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.072, allocations: 1.678 MB / 1.427 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.072, allocations: 0 / 1.427 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/1.08, allocations: 2.498 MB / 1.429 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/1.081, allocations: 435.7 kB / 1.43 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/1.081, allocations: 31.98 kB / 1.43 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.083, allocations: 225.4 kB / 1.43 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.083, allocations: 105.1 kB / 1.43 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.084, allocations: 63.94 kB / 1.43 GB, free: 13.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007579/1.084, allocations: 0.5614 MB / 1.431 GB, free: 12.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.013e-06/1.084, allocations: 0 / 1.431 GB, free: 12.93 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001198/1.086, allocations: 0.4949 MB / 1.431 GB, free: 12.43 MB / 1.123 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.01059/1.096, allocations: 3.59 MB / 1.435 GB, free: 9.004 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007648/1.104, allocations: 2.32 MB / 1.437 GB, free: 6.672 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.104, allocations: 0 / 1.437 GB, free: 6.672 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00409/1.108, allocations: 1.306 MB / 1.438 GB, free: 5.352 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.109, allocations: 342.3 kB / 1.438 GB, free: 5.035 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/1.14, allocations: 12.06 MB / 1.45 GB, free: 8.816 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008668/1.141, allocations: 1.163 MB / 1.451 GB, free: 7.625 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001613/1.143, allocations: 481.2 kB / 1.452 GB, free: 7.152 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.144, allocations: 0.5421 MB / 1.452 GB, free: 6.609 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/1.144, allocations: 0 / 1.452 GB, free: 6.609 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/1.212, allocations: 31.65 MB / 1.483 GB, free: 7.297 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.63, allocations: 6.469 kB / 1.483 GB, free: 7.293 MB / 1.17 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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