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.005493/0.005493, allocations: 102 kB / 15.73 MB, free: 6.055 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.001335/0.001335, allocations: 194.3 kB / 16.67 MB, free: 5.965 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.382/2.382, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6891, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007159/0.6963, allocations: 5.847 MB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.8474, allocations: 151.3 MB / 1.32 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009446/0.8484, allocations: 15.94 kB / 1.32 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.8492, allocations: 221.8 kB / 1.32 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.8515, allocations: 0.6533 MB / 1.321 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.8538, allocations: 0.9859 MB / 1.321 GB, free: 4.117 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.8558, allocations: 1.901 MB / 1.323 GB, free: 2.207 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009765/0.8568, allocations: 0.7755 MB / 1.324 GB, free: 1.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007051/0.8575, allocations: 0.6697 MB / 1.325 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.8583, allocations: 0.7354 MB / 1.325 GB, free: 15.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.8585, allocations: 168 kB / 1.326 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009851/0.8595, allocations: 0.6362 MB / 1.326 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.8598, allocations: 446.6 kB / 1.327 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.8604, allocations: 0.7697 MB / 1.327 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.8624, allocations: 2.22 MB / 1.33 GB, free: 11.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8624, allocations: 0 / 1.33 GB, free: 11.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8625, allocations: 0 / 1.33 GB, free: 11.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.8625, allocations: 0 / 1.33 GB, free: 11.75 MB / 1.061 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.0031/0.8656, allocations: 1.818 MB / 1.331 GB, free: 9.867 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8656, allocations: 8.625 kB / 1.331 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.8658, allocations: 182 kB / 1.332 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009325/0.8752, allocations: 1.278 MB / 1.333 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.8768, allocations: 0.9768 MB / 1.334 GB, free: 7.371 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.8769, allocations: 90.45 kB / 1.334 GB, free: 7.281 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.8771, allocations: 124 kB / 1.334 GB, free: 7.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00508/0.8822, allocations: 2.037 MB / 1.336 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.8823, allocations: 0 / 1.336 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.8824, allocations: 55.94 kB / 1.336 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.8825, allocations: 32 kB / 1.336 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007952/0.8904, allocations: 2.76 MB / 1.339 GB, free: 2.203 MB / 1.061 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.008663/0.8991, allocations: 4.693 MB / 1.343 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008271/0.9074, allocations: 2.735 MB / 1.346 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.9106, allocations: 1.044 MB / 1.347 GB, free: 9.559 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/0.9112, allocations: 0.6102 MB / 1.348 GB, free: 8.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003659/0.9149, allocations: 1.359 MB / 1.349 GB, free: 7.441 MB / 1.076 GB Notification: Performance of pre-optimization done (n=132): time 3.407e-06/0.9149, allocations: 0 / 1.349 GB, free: 7.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=132): time 0.01156/0.9264, allocations: 3.383 MB / 1.352 GB, free: 4.031 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.9266, allocations: 197.2 kB / 1.352 GB, free: 3.793 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9276, allocations: 0.7745 MB / 1.353 GB, free: 3.012 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.9278, allocations: 49.7 kB / 1.353 GB, free: 2.957 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.9282, allocations: 480.9 kB / 1.354 GB, free: 2.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.9286, allocations: 429.8 kB / 1.354 GB, free: 2.055 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.929, allocations: 254.7 kB / 1.354 GB, free: 1.801 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9292, allocations: 349.9 kB / 1.355 GB, free: 1.453 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003193/0.9324, allocations: 0.947 MB / 1.356 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/0.9357, allocations: 1.089 MB / 1.357 GB, free: 15.38 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.942, allocations: 1.899 MB / 1.359 GB, free: 13.46 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.9421, allocations: 3.984 kB / 1.359 GB, free: 13.46 MB / 1.092 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007573/0.9496, allocations: 2.276 MB / 1.361 GB, free: 11.17 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.9497, allocations: 4 kB / 1.361 GB, free: 11.17 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9497, allocations: 3.984 kB / 1.361 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.9503, allocations: 92.77 kB / 1.361 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.9527, allocations: 415.3 kB / 1.361 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.9548, allocations: 1.652 MB / 1.363 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.957, allocations: 290.8 kB / 1.363 GB, free: 8.582 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.9572, allocations: 59.94 kB / 1.363 GB, free: 8.523 MB / 1.092 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.0006544/0.9579, allocations: 319.3 kB / 1.363 GB, free: 8.203 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.9582, allocations: 114.6 kB / 1.364 GB, free: 8.09 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/0.9667, allocations: 2.719 MB / 1.366 GB, free: 5.355 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.9667, allocations: 19.94 kB / 1.366 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9667, allocations: 4 kB / 1.366 GB, free: 5.332 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.9667, allocations: 7.969 kB / 1.366 GB, free: 5.324 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.977, allocations: 4.314 MB / 1.37 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9771, allocations: 0 / 1.37 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/0.9795, allocations: 411.4 kB / 1.371 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.98, allocations: 80.72 kB / 1.371 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.9801, allocations: 43.94 kB / 1.371 GB, free: 424 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.982, allocations: 1.681 MB / 1.373 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.982, allocations: 0 / 1.373 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007705/0.9897, allocations: 2.489 MB / 1.375 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007758/0.9905, allocations: 423.2 kB / 1.375 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.9908, allocations: 31.98 kB / 1.375 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/0.993, allocations: 231.7 kB / 1.376 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.9932, allocations: 113 kB / 1.376 GB, free: 11.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.9933, allocations: 59.94 kB / 1.376 GB, free: 11.21 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000838/0.9942, allocations: 0.5576 MB / 1.376 GB, free: 10.66 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9942, allocations: 0 / 1.376 GB, free: 10.66 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001423/0.9956, allocations: 499 kB / 1.377 GB, free: 10.18 MB / 1.107 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.00945/1.005, allocations: 3.577 MB / 1.38 GB, free: 6.73 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007219/1.012, allocations: 2.32 MB / 1.383 GB, free: 4.398 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.012, allocations: 4 kB / 1.383 GB, free: 4.395 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/1.016, allocations: 1.31 MB / 1.384 GB, free: 3.07 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/1.018, allocations: 339.2 kB / 1.384 GB, free: 2.758 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/1.046, allocations: 11.99 MB / 1.396 GB, free: 6.613 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.047, allocations: 1.172 MB / 1.397 GB, free: 5.414 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001566/1.049, allocations: 477.2 kB / 1.398 GB, free: 4.945 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009933/1.05, allocations: 0.5421 MB / 1.398 GB, free: 4.406 MB / 1.123 GB Notification: Performance of SimCode: time 9.02e-07/1.05, allocations: 3.938 kB / 1.398 GB, free: 4.402 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08105/1.131, allocations: 31.67 MB / 1.429 GB, free: 4.953 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.12, allocations: 4.062 kB / 1.429 GB, free: 4.949 MB / 1.154 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