Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_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.007484/0.007484, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001922/0.001922, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.551/2.551, allocations: 437.1 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007648/0.2749, allocations: 6.261 MB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7209/0.9958, allocations: 151.6 MB / 1.32 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009685/0.9968, allocations: 17.25 kB / 1.32 GB, free: 8.891 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.9976, allocations: 230.9 kB / 1.32 GB, free: 8.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.9996, allocations: 0.6972 MB / 1.321 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/1.002, allocations: 1.002 MB / 1.322 GB, free: 8.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001856/1.004, allocations: 2.057 MB / 1.324 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/1.005, allocations: 0.8534 MB / 1.325 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008806/1.006, allocations: 0.7293 MB / 1.326 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/1.007, allocations: 0.8006 MB / 1.326 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/1.007, allocations: 192.3 kB / 1.327 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/1.008, allocations: 0.6633 MB / 1.327 GB, free: 6.586 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004338/1.008, allocations: 480.7 kB / 1.328 GB, free: 6.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007506/1.009, allocations: 0.8533 MB / 1.329 GB, free: 5.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/1.012, allocations: 2.48 MB / 1.331 GB, free: 4.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.012, allocations: 0 / 1.331 GB, free: 4.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.213e-06/1.012, allocations: 0 / 1.331 GB, free: 4.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.59e-05/1.012, allocations: 1.406 kB / 1.331 GB, free: 4.691 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003365/1.015, allocations: 1.913 MB / 1.333 GB, free: 3.453 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.015, allocations: 13.47 kB / 1.333 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/1.015, allocations: 200.5 kB / 1.333 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009345/1.025, allocations: 1.286 MB / 1.334 GB, free: 3.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/1.026, allocations: 1.064 MB / 1.335 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/1.026, allocations: 98.8 kB / 1.335 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/1.027, allocations: 130.5 kB / 1.336 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005347/1.032, allocations: 2.203 MB / 1.338 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.032, allocations: 0 / 1.338 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.032, allocations: 63.53 kB / 1.338 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.032, allocations: 40.03 kB / 1.338 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/1.041, allocations: 2.961 MB / 1.341 GB, free: 0.8203 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.00939/1.05, allocations: 5.364 MB / 1.346 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008731/1.059, allocations: 2.876 MB / 1.349 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/1.062, allocations: 1.133 MB / 1.35 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/1.063, allocations: 0.6053 MB / 1.35 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003898/1.067, allocations: 1.44 MB / 1.352 GB, free: 10.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=133): time 3.176e-06/1.067, allocations: 0 / 1.352 GB, free: 10.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=133): time 0.01199/1.079, allocations: 3.633 MB / 1.355 GB, free: 8.289 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.079, allocations: 199 kB / 1.356 GB, free: 8.062 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.08, allocations: 0.8136 MB / 1.356 GB, free: 7.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.08, allocations: 50.05 kB / 1.356 GB, free: 7.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/1.08, allocations: 0.5172 MB / 1.357 GB, free: 7.098 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/1.081, allocations: 436.5 kB / 1.357 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004733/1.081, allocations: 258.3 kB / 1.358 GB, free: 6.566 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.081, allocations: 351.1 kB / 1.358 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/1.085, allocations: 1.029 MB / 1.359 GB, free: 5.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.088, allocations: 1.188 MB / 1.36 GB, free: 5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00644/1.095, allocations: 2.038 MB / 1.362 GB, free: 3.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.095, allocations: 0 / 1.362 GB, free: 3.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007714/1.102, allocations: 2.44 MB / 1.365 GB, free: 2.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.102, allocations: 6.734 kB / 1.365 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.102, allocations: 6.188 kB / 1.365 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/1.103, allocations: 74.12 kB / 1.365 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/1.105, allocations: 428.6 kB / 1.365 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/1.108, allocations: 1.653 MB / 1.367 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.11, allocations: 277.5 kB / 1.367 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.11, allocations: 60.47 kB / 1.367 GB, free: 0.6328 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 (HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (143): * Single equations (assignments): 142 * 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.0007526/1.111, allocations: 356 kB / 1.367 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/1.111, allocations: 118.2 kB / 1.367 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008832/1.12, allocations: 2.876 MB / 1.37 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.12, allocations: 14.47 kB / 1.37 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.12, allocations: 0 / 1.37 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.12, allocations: 10.88 kB / 1.37 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/1.122, allocations: 1.819 MB / 1.372 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/1.122, allocations: 2.688 kB / 1.372 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.125, allocations: 410.8 kB / 1.372 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/1.125, allocations: 74.94 kB / 1.372 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.126, allocations: 51.03 kB / 1.373 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.127, allocations: 1.67 MB / 1.374 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.127, allocations: 6.25 kB / 1.374 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007752/1.135, allocations: 2.576 MB / 1.377 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/1.136, allocations: 467.6 kB / 1.377 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/1.136, allocations: 31.72 kB / 1.377 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.139, allocations: 231 kB / 1.377 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.139, allocations: 102.8 kB / 1.377 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.139, allocations: 66.06 kB / 1.378 GB, free: 9.559 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007519/1.14, allocations: 0.585 MB / 1.378 GB, free: 9.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.14, allocations: 0 / 1.378 GB, free: 9.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001329/1.141, allocations: 0.506 MB / 1.379 GB, free: 9.102 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.009556/1.151, allocations: 3.678 MB / 1.382 GB, free: 6.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007733/1.158, allocations: 2.496 MB / 1.385 GB, free: 4.207 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.158, allocations: 0 / 1.385 GB, free: 4.207 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/1.162, allocations: 1.407 MB / 1.386 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.164, allocations: 355.4 kB / 1.386 GB, free: 2.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/1.194, allocations: 12.71 MB / 1.399 GB, free: 5.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/1.195, allocations: 1.195 MB / 1.4 GB, free: 4.375 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001691/1.197, allocations: 489.5 kB / 1.4 GB, free: 3.895 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.198, allocations: 0.5811 MB / 1.401 GB, free: 3.316 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.198, allocations: 4 kB / 1.401 GB, free: 3.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06229/1.26, allocations: 33.19 MB / 1.433 GB, free: 2.422 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.92, allocations: 3.859 kB / 1.433 GB, free: 2.418 MB / 1.092 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.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_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches