Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_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.004546/0.004546, allocations: 99.52 kB / 15.73 MB, free: 6.035 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.00108/0.00108, allocations: 201.1 kB / 16.68 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.701/2.701, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.83 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007198/0.29, allocations: 5.838 MB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7327/1.023, allocations: 151.3 MB / 1.373 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/1.024, allocations: 16.91 kB / 1.373 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007772/1.025, allocations: 224.4 kB / 1.373 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002499/1.027, allocations: 0.6662 MB / 1.374 GB, free: 9.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.03, allocations: 0.9773 MB / 1.375 GB, free: 9.215 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002365/1.032, allocations: 1.909 MB / 1.377 GB, free: 8.258 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/1.033, allocations: 0.767 MB / 1.378 GB, free: 7.852 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/1.034, allocations: 0.6921 MB / 1.378 GB, free: 7.512 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/1.036, allocations: 0.732 MB / 1.379 GB, free: 7.145 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005039/1.036, allocations: 163.3 kB / 1.379 GB, free: 7.145 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/1.038, allocations: 0.6373 MB / 1.38 GB, free: 6.992 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005947/1.039, allocations: 441 kB / 1.38 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/1.04, allocations: 0.7807 MB / 1.381 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/1.043, allocations: 2.217 MB / 1.383 GB, free: 4.578 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.043, allocations: 1.062 kB / 1.383 GB, free: 4.578 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.754e-06/1.043, allocations: 0 / 1.383 GB, free: 4.578 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.379e-05/1.044, allocations: 4 kB / 1.383 GB, free: 4.574 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.004741/1.048, allocations: 1.864 MB / 1.385 GB, free: 3.137 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.048, allocations: 12.47 kB / 1.385 GB, free: 3.133 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003598/1.049, allocations: 184.9 kB / 1.385 GB, free: 2.984 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009826/1.059, allocations: 1.28 MB / 1.386 GB, free: 2.371 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/1.061, allocations: 0.9909 MB / 1.387 GB, free: 1.586 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.061, allocations: 89.39 kB / 1.388 GB, free: 1.547 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/1.062, allocations: 119.6 kB / 1.388 GB, free: 1.508 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/1.068, allocations: 2.03 MB / 1.39 GB, free: 280 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/1.068, allocations: 5.125 kB / 1.39 GB, free: 276 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/1.068, allocations: 55.59 kB / 1.39 GB, free: 232 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.068, allocations: 30.94 kB / 1.39 GB, free: 232 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008523/1.077, allocations: 2.761 MB / 1.392 GB, free: 14.87 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.01094/1.088, allocations: 4.718 MB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008992/1.097, allocations: 2.741 MB / 1.4 GB, free: 9.898 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003501/1.1, allocations: 1.039 MB / 1.401 GB, free: 9.367 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/1.101, allocations: 0.6059 MB / 1.401 GB, free: 8.672 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004165/1.105, allocations: 1.359 MB / 1.403 GB, free: 7.863 MB / 1.092 GB Notification: Performance of pre-optimization done (n=132): time 6.983e-06/1.105, allocations: 0 / 1.403 GB, free: 7.863 MB / 1.092 GB Notification: Performance of matching and sorting (n=132): time 0.01228/1.117, allocations: 3.382 MB / 1.406 GB, free: 6.113 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.118, allocations: 202.3 kB / 1.406 GB, free: 5.883 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.119, allocations: 0.7688 MB / 1.407 GB, free: 5.453 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/1.119, allocations: 52.92 kB / 1.407 GB, free: 5.402 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/1.119, allocations: 0.4904 MB / 1.407 GB, free: 4.965 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/1.12, allocations: 451 kB / 1.408 GB, free: 4.574 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005387/1.12, allocations: 266 kB / 1.408 GB, free: 4.418 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.121, allocations: 348.6 kB / 1.408 GB, free: 4.082 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/1.124, allocations: 0.9435 MB / 1.409 GB, free: 3.305 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.127, allocations: 1.093 MB / 1.41 GB, free: 2.184 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006416/1.134, allocations: 1.907 MB / 1.412 GB, free: 264 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.134, allocations: 0 / 1.412 GB, free: 264 kB / 1.092 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008009/1.142, allocations: 2.277 MB / 1.414 GB, free: 13.97 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.142, allocations: 8 kB / 1.414 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.142, allocations: 0 / 1.414 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/1.142, allocations: 84.84 kB / 1.415 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/1.145, allocations: 423.3 kB / 1.415 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.147, allocations: 1.645 MB / 1.417 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.15, allocations: 274.9 kB / 1.417 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/1.15, allocations: 63.94 kB / 1.417 GB, free: 11.34 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.0008298/1.151, allocations: 333.2 kB / 1.417 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/1.151, allocations: 115.2 kB / 1.417 GB, free: 10.89 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008937/1.16, allocations: 2.731 MB / 1.42 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.16, allocations: 15.98 kB / 1.42 GB, free: 8.133 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.16, allocations: 0 / 1.42 GB, free: 8.133 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/1.16, allocations: 3.984 kB / 1.42 GB, free: 8.129 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.172, allocations: 4.315 MB / 1.424 GB, free: 3.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.172, allocations: 0 / 1.424 GB, free: 3.754 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.174, allocations: 411.4 kB / 1.425 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/1.175, allocations: 72.8 kB / 1.425 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.175, allocations: 47.94 kB / 1.425 GB, free: 3.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.177, allocations: 1.681 MB / 1.426 GB, free: 1.402 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.177, allocations: 1.641 kB / 1.426 GB, free: 1.402 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008373/1.185, allocations: 2.494 MB / 1.429 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.187, allocations: 435.7 kB / 1.429 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/1.187, allocations: 32 kB / 1.429 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.189, allocations: 223.7 kB / 1.429 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.19, allocations: 101.2 kB / 1.43 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.19, allocations: 65.5 kB / 1.43 GB, free: 14.03 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008545/1.191, allocations: 0.5614 MB / 1.43 GB, free: 13.47 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.191, allocations: 0 / 1.43 GB, free: 13.47 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001597/1.192, allocations: 0.4911 MB / 1.431 GB, free: 12.98 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.009976/1.202, allocations: 3.598 MB / 1.434 GB, free: 9.535 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007956/1.21, allocations: 2.32 MB / 1.436 GB, free: 7.199 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.21, allocations: 3.984 kB / 1.436 GB, free: 7.195 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004083/1.214, allocations: 1.314 MB / 1.438 GB, free: 5.871 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.217, allocations: 333.6 kB / 1.438 GB, free: 5.562 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/1.248, allocations: 12.06 MB / 1.45 GB, free: 9.344 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/1.249, allocations: 1.156 MB / 1.451 GB, free: 8.16 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001782/1.25, allocations: 489.1 kB / 1.451 GB, free: 7.68 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.251, allocations: 0.5382 MB / 1.452 GB, free: 7.141 MB / 1.139 GB Notification: Performance of SimCode: time 7.01e-07/1.251, allocations: 0 / 1.452 GB, free: 7.141 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0655/1.317, allocations: 31.66 MB / 1.483 GB, free: 7.797 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.78, allocations: 3.938 kB / 1.483 GB, free: 7.793 MB / 1.17 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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