Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_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.004432/0.004432, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001149/0.001149, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.334/1.334, 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 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007546/0.2697, allocations: 5.834 MB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7046/0.9743, allocations: 151.3 MB / 1.32 GB, free: 9.234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000974/0.9753, allocations: 20.59 kB / 1.32 GB, free: 9.227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.976, allocations: 216.3 kB / 1.32 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.9778, allocations: 0.6664 MB / 1.321 GB, free: 8.809 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.98, allocations: 0.9736 MB / 1.321 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.9819, allocations: 1.911 MB / 1.323 GB, free: 8.277 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009928/0.9829, allocations: 0.7654 MB / 1.324 GB, free: 8.062 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.9837, allocations: 0.6756 MB / 1.325 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.9845, allocations: 0.7391 MB / 1.325 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.9848, allocations: 163.4 kB / 1.326 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.986, allocations: 0.6392 MB / 1.326 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.9864, allocations: 439.8 kB / 1.327 GB, free: 7.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.9871, allocations: 0.7787 MB / 1.327 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.9896, allocations: 2.217 MB / 1.33 GB, free: 5.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9897, allocations: 2.812 kB / 1.33 GB, free: 5.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9897, allocations: 1.438 kB / 1.33 GB, free: 5.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.9897, allocations: 0 / 1.33 GB, free: 5.68 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.003352/0.993, allocations: 1.862 MB / 1.331 GB, free: 4.449 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.9931, allocations: 10.16 kB / 1.331 GB, free: 4.449 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.9933, allocations: 193.7 kB / 1.332 GB, free: 4.324 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008841/1.002, allocations: 1.282 MB / 1.333 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/1.004, allocations: 0.9885 MB / 1.334 GB, free: 3.574 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/1.004, allocations: 97.19 kB / 1.334 GB, free: 3.527 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/1.004, allocations: 119.6 kB / 1.334 GB, free: 3.488 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004978/1.009, allocations: 2.032 MB / 1.336 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/1.009, allocations: 1.125 kB / 1.336 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.009, allocations: 52.03 kB / 1.336 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/1.009, allocations: 32.75 kB / 1.336 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007695/1.017, allocations: 2.759 MB / 1.339 GB, free: 2.113 MB / 1.014 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.008606/1.026, allocations: 4.724 MB / 1.343 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008117/1.034, allocations: 2.729 MB / 1.346 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/1.037, allocations: 1.046 MB / 1.347 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/1.038, allocations: 0.6112 MB / 1.348 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003637/1.041, allocations: 1.352 MB / 1.349 GB, free: 12.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=132): time 3.126e-06/1.041, allocations: 1.406 kB / 1.349 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01107/1.052, allocations: 3.386 MB / 1.352 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.052, allocations: 203.9 kB / 1.353 GB, free: 10.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.054, allocations: 0.7681 MB / 1.353 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/1.054, allocations: 54.05 kB / 1.353 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/1.054, allocations: 492.4 kB / 1.354 GB, free: 9.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/1.054, allocations: 450 kB / 1.354 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/1.055, allocations: 254 kB / 1.354 GB, free: 9.031 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.055, allocations: 356.9 kB / 1.355 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/1.058, allocations: 0.9371 MB / 1.356 GB, free: 8.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/1.061, allocations: 1.095 MB / 1.357 GB, free: 7.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005989/1.067, allocations: 1.901 MB / 1.359 GB, free: 6.609 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.067, allocations: 4 kB / 1.359 GB, free: 6.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007197/1.075, allocations: 2.28 MB / 1.361 GB, free: 5.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.075, allocations: 4.688 kB / 1.361 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.075, allocations: 0 / 1.361 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/1.075, allocations: 88.98 kB / 1.361 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/1.078, allocations: 414.7 kB / 1.361 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/1.08, allocations: 1.652 MB / 1.363 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/1.082, allocations: 286.3 kB / 1.363 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.082, allocations: 67.2 kB / 1.363 GB, free: 3.438 MB / 1.029 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.0006468/1.082, allocations: 328.5 kB / 1.364 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/1.083, allocations: 124.2 kB / 1.364 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/1.091, allocations: 2.722 MB / 1.366 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.091, allocations: 14.81 kB / 1.366 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.091, allocations: 0 / 1.366 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.091, allocations: 7.969 kB / 1.366 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009813/1.101, allocations: 4.313 MB / 1.371 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.101, allocations: 0 / 1.371 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.103, allocations: 410.8 kB / 1.371 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/1.103, allocations: 78.97 kB / 1.371 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.103, allocations: 50.81 kB / 1.371 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/1.105, allocations: 1.681 MB / 1.373 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.105, allocations: 0 / 1.373 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007237/1.112, allocations: 2.493 MB / 1.375 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008134/1.113, allocations: 429.8 kB / 1.376 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.114, allocations: 29.56 kB / 1.376 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/1.116, allocations: 231.4 kB / 1.376 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.116, allocations: 100.8 kB / 1.376 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.116, allocations: 74.02 kB / 1.376 GB, free: 11.24 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006841/1.117, allocations: 0.5574 MB / 1.377 GB, free: 10.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/1.117, allocations: 4 kB / 1.377 GB, free: 10.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001263/1.118, allocations: 0.4913 MB / 1.377 GB, free: 10.8 MB / 1.045 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.008989/1.127, allocations: 3.596 MB / 1.381 GB, free: 8.383 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007082/1.134, allocations: 2.317 MB / 1.383 GB, free: 6.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.134, allocations: 0 / 1.383 GB, free: 6.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/1.138, allocations: 1.314 MB / 1.384 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.139, allocations: 333.7 kB / 1.384 GB, free: 4.422 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/1.167, allocations: 12.05 MB / 1.396 GB, free: 8.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/1.168, allocations: 1.159 MB / 1.397 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001615/1.169, allocations: 477.2 kB / 1.398 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.17, allocations: 0.5421 MB / 1.398 GB, free: 6.016 MB / 1.061 GB Notification: Performance of SimCode: time 6.12e-07/1.17, allocations: 0 / 1.398 GB, free: 6.016 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/1.23, allocations: 31.65 MB / 1.429 GB, free: 6.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.31, allocations: 13.88 kB / 1.429 GB, free: 6.648 MB / 1.092 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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