Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_11_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.00541/0.005409, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001518/0.001519, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 60.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2924, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008231/0.3006, allocations: 6.247 MB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7457/1.046, allocations: 151.5 MB / 1.374 GB, free: 9.406 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/1.047, allocations: 22.56 kB / 1.374 GB, free: 9.398 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006319/1.048, allocations: 226.7 kB / 1.374 GB, free: 9.254 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/1.05, allocations: 0.7047 MB / 1.375 GB, free: 8.836 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/1.052, allocations: 0.9963 MB / 1.376 GB, free: 8.301 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001938/1.054, allocations: 2.06 MB / 1.378 GB, free: 7.242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/1.055, allocations: 0.862 MB / 1.379 GB, free: 6.789 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/1.056, allocations: 0.7249 MB / 1.38 GB, free: 6.426 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/1.057, allocations: 0.8013 MB / 1.38 GB, free: 6.008 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/1.057, allocations: 192.2 kB / 1.381 GB, free: 6.008 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.058, allocations: 0.6646 MB / 1.381 GB, free: 5.832 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/1.059, allocations: 478.8 kB / 1.382 GB, free: 5.461 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008224/1.06, allocations: 0.8636 MB / 1.383 GB, free: 4.828 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/1.062, allocations: 2.475 MB / 1.385 GB, free: 3.035 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.062, allocations: 3.938 kB / 1.385 GB, free: 3.031 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/1.062, allocations: 0 / 1.385 GB, free: 3.031 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.393e-05/1.062, allocations: 1.062 kB / 1.385 GB, free: 3.031 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003576/1.066, allocations: 1.962 MB / 1.387 GB, free: 1.523 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.066, allocations: 13.47 kB / 1.387 GB, free: 1.52 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/1.066, allocations: 203.6 kB / 1.387 GB, free: 1.359 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009564/1.076, allocations: 1.293 MB / 1.388 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/1.078, allocations: 1.067 MB / 1.389 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.51e-05/1.078, allocations: 101 kB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/1.078, allocations: 127.2 kB / 1.39 GB, free: 15.8 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/1.084, allocations: 2.213 MB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.084, allocations: 0 / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.084, allocations: 58.09 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/1.084, allocations: 31.25 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008683/1.093, allocations: 2.966 MB / 1.395 GB, free: 12.91 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.01004/1.103, allocations: 5.369 MB / 1.4 GB, free: 8.828 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008916/1.112, allocations: 2.884 MB / 1.403 GB, free: 7.328 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003484/1.115, allocations: 1.134 MB / 1.404 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/1.116, allocations: 0.6101 MB / 1.405 GB, free: 6.027 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003954/1.12, allocations: 1.443 MB / 1.406 GB, free: 5.16 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 3.045e-06/1.12, allocations: 0 / 1.406 GB, free: 5.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=133): time 0.01224/1.132, allocations: 3.639 MB / 1.41 GB, free: 3.117 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.132, allocations: 201.2 kB / 1.41 GB, free: 2.875 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.133, allocations: 0.8139 MB / 1.411 GB, free: 2.055 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.134, allocations: 49.7 kB / 1.411 GB, free: 2 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/1.134, allocations: 0.525 MB / 1.411 GB, free: 1.469 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/1.135, allocations: 460.1 kB / 1.412 GB, free: 1.016 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005319/1.135, allocations: 258.7 kB / 1.412 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.135, allocations: 341.9 kB / 1.412 GB, free: 428 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/1.139, allocations: 1.033 MB / 1.413 GB, free: 15.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/1.143, allocations: 1.182 MB / 1.414 GB, free: 14.17 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/1.149, allocations: 2.048 MB / 1.416 GB, free: 12.11 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.149, allocations: 0 / 1.416 GB, free: 12.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008353/1.158, allocations: 2.433 MB / 1.419 GB, free: 9.66 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.158, allocations: 13.69 kB / 1.419 GB, free: 9.652 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.158, allocations: 4 kB / 1.419 GB, free: 9.648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.159, allocations: 84.77 kB / 1.419 GB, free: 9.562 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/1.161, allocations: 419.3 kB / 1.419 GB, free: 9.152 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/1.163, allocations: 1.65 MB / 1.421 GB, free: 7.359 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/1.166, allocations: 287.5 kB / 1.421 GB, free: 7.078 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/1.166, allocations: 57.73 kB / 1.421 GB, free: 7.023 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 (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.0007563/1.167, allocations: 347.3 kB / 1.421 GB, free: 6.672 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/1.167, allocations: 127.2 kB / 1.422 GB, free: 6.547 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009032/1.176, allocations: 2.878 MB / 1.424 GB, free: 3.656 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.176, allocations: 16 kB / 1.424 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.176, allocations: 0 / 1.424 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/1.176, allocations: 7.969 kB / 1.424 GB, free: 3.633 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/1.179, allocations: 1.824 MB / 1.426 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.179, allocations: 0 / 1.426 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.181, allocations: 419.3 kB / 1.427 GB, free: 1.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/1.182, allocations: 72.78 kB / 1.427 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/1.182, allocations: 55.94 kB / 1.427 GB, free: 1.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.184, allocations: 1.678 MB / 1.428 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.184, allocations: 0 / 1.428 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008347/1.192, allocations: 2.585 MB / 1.431 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008246/1.193, allocations: 471.7 kB / 1.431 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/1.193, allocations: 28 kB / 1.431 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.196, allocations: 229.1 kB / 1.432 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/1.196, allocations: 105.2 kB / 1.432 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.196, allocations: 59.94 kB / 1.432 GB, free: 11.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008323/1.197, allocations: 0.5888 MB / 1.432 GB, free: 11.31 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.114e-06/1.197, allocations: 0 / 1.432 GB, free: 11.31 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001333/1.198, allocations: 0.5144 MB / 1.433 GB, free: 10.8 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,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.01051/1.209, allocations: 3.675 MB / 1.436 GB, free: 7.277 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008018/1.217, allocations: 2.508 MB / 1.439 GB, free: 4.754 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.217, allocations: 3.938 kB / 1.439 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/1.221, allocations: 1.388 MB / 1.44 GB, free: 3.352 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.223, allocations: 367.2 kB / 1.44 GB, free: 3.012 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.254, allocations: 12.76 MB / 1.453 GB, free: 6.094 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/1.255, allocations: 1.191 MB / 1.454 GB, free: 4.871 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001852/1.257, allocations: 485.5 kB / 1.455 GB, free: 4.395 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.258, allocations: 0.5773 MB / 1.455 GB, free: 3.816 MB / 1.139 GB Notification: Performance of SimCode: time 1.333e-06/1.258, allocations: 4 kB / 1.455 GB, free: 3.812 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/1.331, allocations: 33.21 MB / 1.488 GB, free: 2.91 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.43, allocations: 4.062 kB / 1.488 GB, free: 2.906 MB / 1.17 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches