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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.48 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.246, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007272/0.2533, allocations: 5.828 MB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.402, allocations: 151.3 MB / 1.217 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008745/0.4029, allocations: 15.94 kB / 1.217 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.4037, allocations: 221.9 kB / 1.217 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.4057, allocations: 0.6476 MB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.4078, allocations: 0.9721 MB / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.4095, allocations: 1.89 MB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009636/0.4104, allocations: 0.7871 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.4111, allocations: 0.6659 MB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.4119, allocations: 0.747 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.4121, allocations: 160 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4132, allocations: 0.6128 MB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.4135, allocations: 434.7 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.4142, allocations: 0.7775 MB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.4164, allocations: 2.165 MB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4164, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4164, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.4164, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 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.00321/0.4196, allocations: 1.815 MB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4197, allocations: 8.031 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/0.4199, allocations: 189.9 kB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/0.4294, allocations: 1.282 MB / 1.23 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.431, allocations: 0.9496 MB / 1.231 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.4311, allocations: 98.39 kB / 1.231 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.4313, allocations: 112 kB / 1.231 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.4363, allocations: 2.045 MB / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4363, allocations: 0 / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.4365, allocations: 48 kB / 1.233 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.4365, allocations: 28 kB / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007749/0.4442, allocations: 2.764 MB / 1.236 GB, free: 13.12 MB / 0.9981 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.008203/0.4525, allocations: 4.732 MB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008095/0.4606, allocations: 2.743 MB / 1.243 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/0.4637, allocations: 1.043 MB / 1.244 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.4643, allocations: 0.6101 MB / 1.245 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003604/0.4679, allocations: 1.359 MB / 1.246 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 2.856e-06/0.4679, allocations: 3.938 kB / 1.246 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.4385/0.9064, allocations: 3.375 MB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.9065, allocations: 198.5 kB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.9075, allocations: 0.7716 MB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.9077, allocations: 51.14 kB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.908, allocations: 486 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.9083, allocations: 431.6 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004763/0.9088, allocations: 253.1 kB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.9089, allocations: 353.2 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/0.912, allocations: 0.9444 MB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/0.9153, allocations: 1.093 MB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006077/0.9214, allocations: 1.904 MB / 1.256 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.9214, allocations: 0 / 1.256 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007622/0.929, allocations: 2.272 MB / 1.258 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.929, allocations: 8.938 kB / 1.258 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9291, allocations: 0 / 1.258 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.9297, allocations: 85.8 kB / 1.258 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.932, allocations: 421.6 kB / 1.259 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.9338, allocations: 1.647 MB / 1.26 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.936, allocations: 281.2 kB / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.9362, allocations: 61.95 kB / 1.261 GB, free: 183.3 MB / 0.9981 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.0005872/0.9368, allocations: 328.3 kB / 1.261 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.937, allocations: 110.6 kB / 1.261 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008246/0.9453, allocations: 2.728 MB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.9453, allocations: 15.12 kB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9453, allocations: 4.594 kB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.9454, allocations: 7.312 kB / 1.264 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.9557, allocations: 4.317 MB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.9557, allocations: 3.219 kB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/0.9581, allocations: 410.9 kB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.9586, allocations: 74.08 kB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.9587, allocations: 50.64 kB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.9604, allocations: 1.664 MB / 1.27 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9604, allocations: 5.656 kB / 1.27 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008114/0.9685, allocations: 2.488 MB / 1.272 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.9692, allocations: 429.9 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.9694, allocations: 33.44 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/0.9715, allocations: 226.3 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.9717, allocations: 107.3 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.9719, allocations: 73.22 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006967/0.9726, allocations: 0.5525 MB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9726, allocations: 0 / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001229/0.9738, allocations: 498.9 kB / 1.274 GB, free: 178.5 MB / 0.9981 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.008811/0.9827, allocations: 3.585 MB / 1.278 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008719/0.9914, allocations: 2.899 MB / 1.281 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9914, allocations: 1.188 kB / 1.281 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.995, allocations: 1.309 MB / 1.282 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.9965, allocations: 343.8 kB / 1.282 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/1.023, allocations: 12.41 MB / 1.294 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/1.024, allocations: 1.163 MB / 1.296 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001787/1.025, allocations: 478.8 kB / 1.296 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008617/1.026, allocations: 0.5436 MB / 1.297 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.026, allocations: 2.953 kB / 1.297 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/1.077, allocations: 31.35 MB / 1.327 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.79, allocations: 11.64 kB / 1.327 GB, free: 137.3 MB / 0.9981 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