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.007592/0.007592, allocations: 96.84 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.002014/0.002014, allocations: 204.5 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.583/2.583, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008157/0.2681, allocations: 6.263 MB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7021/0.9703, allocations: 151.5 MB / 1.32 GB, free: 8.977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009596/0.9712, allocations: 21.25 kB / 1.32 GB, free: 8.969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.9721, allocations: 236.6 kB / 1.32 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.9744, allocations: 0.7031 MB / 1.321 GB, free: 8.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.9768, allocations: 1.006 MB / 1.322 GB, free: 8.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003245/0.9801, allocations: 2.059 MB / 1.324 GB, free: 7.949 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.982, allocations: 0.8553 MB / 1.325 GB, free: 7.574 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.9837, allocations: 0.7448 MB / 1.326 GB, free: 7.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.9852, allocations: 0.793 MB / 1.327 GB, free: 6.789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005781/0.9858, allocations: 192.6 kB / 1.327 GB, free: 6.789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.9875, allocations: 0.663 MB / 1.327 GB, free: 6.641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.9883, allocations: 480.2 kB / 1.328 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.9899, allocations: 0.8607 MB / 1.329 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.9937, allocations: 2.474 MB / 1.331 GB, free: 4.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9937, allocations: 7.688 kB / 1.331 GB, free: 4.746 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9937, allocations: 0 / 1.331 GB, free: 4.746 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.818e-05/0.9938, allocations: 5.469 kB / 1.331 GB, free: 4.742 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.004361/0.9982, allocations: 1.964 MB / 1.333 GB, free: 3.449 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.9982, allocations: 13.94 kB / 1.333 GB, free: 3.445 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.9985, allocations: 199.2 kB / 1.333 GB, free: 3.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009212/1.008, allocations: 1.301 MB / 1.334 GB, free: 3.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/1.01, allocations: 1.06 MB / 1.335 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/1.01, allocations: 98.02 kB / 1.336 GB, free: 2.457 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/1.01, allocations: 131.9 kB / 1.336 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/1.016, allocations: 2.204 MB / 1.338 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/1.016, allocations: 4 kB / 1.338 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.017, allocations: 57.25 kB / 1.338 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/1.017, allocations: 37.3 kB / 1.338 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/1.025, allocations: 2.962 MB / 1.341 GB, free: 0.8086 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.01012/1.035, allocations: 5.376 MB / 1.346 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008602/1.044, allocations: 2.877 MB / 1.349 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/1.047, allocations: 1.13 MB / 1.35 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/1.048, allocations: 0.6041 MB / 1.351 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003965/1.052, allocations: 1.448 MB / 1.352 GB, free: 10.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=133): time 4.468e-06/1.052, allocations: 0 / 1.352 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=133): time 0.01182/1.064, allocations: 3.63 MB / 1.356 GB, free: 8.277 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.064, allocations: 202.1 kB / 1.356 GB, free: 8.047 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.065, allocations: 0.8121 MB / 1.357 GB, free: 7.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/1.065, allocations: 52.58 kB / 1.357 GB, free: 7.539 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/1.066, allocations: 0.5284 MB / 1.357 GB, free: 7.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/1.066, allocations: 455.2 kB / 1.358 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/1.067, allocations: 254 kB / 1.358 GB, free: 6.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.067, allocations: 352.9 kB / 1.358 GB, free: 6.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/1.07, allocations: 1.031 MB / 1.359 GB, free: 5.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/1.074, allocations: 1.189 MB / 1.36 GB, free: 4.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/1.08, allocations: 2.041 MB / 1.362 GB, free: 3.859 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.08, allocations: 0 / 1.362 GB, free: 3.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007632/1.088, allocations: 2.439 MB / 1.365 GB, free: 2.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.088, allocations: 7.625 kB / 1.365 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.088, allocations: 0 / 1.365 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/1.088, allocations: 86.34 kB / 1.365 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.091, allocations: 423 kB / 1.365 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.093, allocations: 1.654 MB / 1.367 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/1.095, allocations: 279.2 kB / 1.367 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/1.095, allocations: 64.38 kB / 1.367 GB, free: 0.582 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.0008284/1.096, allocations: 352.3 kB / 1.367 GB, free: 324 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/1.096, allocations: 122.2 kB / 1.368 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00873/1.105, allocations: 2.88 MB / 1.37 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.105, allocations: 18.7 kB / 1.37 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.105, allocations: 0 / 1.37 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.105, allocations: 6.234 kB / 1.37 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.108, allocations: 1.824 MB / 1.372 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.108, allocations: 4 kB / 1.372 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.11, allocations: 411.9 kB / 1.373 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/1.111, allocations: 84.86 kB / 1.373 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/1.111, allocations: 50.75 kB / 1.373 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/1.113, allocations: 1.671 MB / 1.374 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.113, allocations: 4.062 kB / 1.374 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007975/1.121, allocations: 2.583 MB / 1.377 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.122, allocations: 474.8 kB / 1.377 GB, free: 9.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/1.122, allocations: 28 kB / 1.377 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.124, allocations: 231 kB / 1.378 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.125, allocations: 100.3 kB / 1.378 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.125, allocations: 67.2 kB / 1.378 GB, free: 9.477 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009131/1.126, allocations: 0.584 MB / 1.378 GB, free: 9.152 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.126, allocations: 0 / 1.378 GB, free: 9.152 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001553/1.127, allocations: 0.5127 MB / 1.379 GB, free: 9.016 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.009733/1.137, allocations: 3.687 MB / 1.382 GB, free: 6.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0077/1.145, allocations: 2.5 MB / 1.385 GB, free: 4.125 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.145, allocations: 4 kB / 1.385 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/1.149, allocations: 1.388 MB / 1.386 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.151, allocations: 361.7 kB / 1.387 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.183, allocations: 12.77 MB / 1.399 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/1.184, allocations: 1.187 MB / 1.4 GB, free: 4.246 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00207/1.186, allocations: 489.5 kB / 1.401 GB, free: 3.766 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.187, allocations: 0.585 MB / 1.401 GB, free: 3.184 MB / 1.061 GB Notification: Performance of SimCode: time 7.91e-07/1.187, allocations: 0 / 1.401 GB, free: 3.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06786/1.255, allocations: 33.19 MB / 1.434 GB, free: 2.305 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.64, allocations: 9.891 kB / 1.434 GB, free: 2.297 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