Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.006392/0.006392, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001694/0.001694, allocations: 202 kB / 16.68 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008413/0.2866, allocations: 6.241 MB / 1.248 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6746/0.9612, allocations: 151.6 MB / 1.396 GB, free: 140 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008349/0.9621, allocations: 17.72 kB / 1.396 GB, free: 136 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.9629, allocations: 230 kB / 1.396 GB, free: 15.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.9651, allocations: 0.6946 MB / 1.396 GB, free: 15.41 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.9675, allocations: 0.9947 MB / 1.397 GB, free: 14.66 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.9698, allocations: 2.06 MB / 1.399 GB, free: 13.39 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.9711, allocations: 0.8641 MB / 1.4 GB, free: 12.86 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.9722, allocations: 0.7322 MB / 1.401 GB, free: 12.42 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009505/0.9732, allocations: 0.7923 MB / 1.402 GB, free: 11.86 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.9734, allocations: 192.2 kB / 1.402 GB, free: 11.86 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.9746, allocations: 0.6673 MB / 1.403 GB, free: 11.61 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.975, allocations: 479.9 kB / 1.403 GB, free: 11.24 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008289/0.9759, allocations: 0.8589 MB / 1.404 GB, free: 10.61 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.9786, allocations: 2.48 MB / 1.406 GB, free: 8.816 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9786, allocations: 0 / 1.406 GB, free: 8.816 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9786, allocations: 1.25 kB / 1.406 GB, free: 8.816 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.9786, allocations: 0 / 1.406 GB, free: 8.816 MB / 1.107 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.003554/0.9822, allocations: 1.966 MB / 1.408 GB, free: 7.305 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.9822, allocations: 8.844 kB / 1.408 GB, free: 7.305 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.9825, allocations: 201.8 kB / 1.408 GB, free: 7.145 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009833/0.9923, allocations: 1.297 MB / 1.41 GB, free: 6.52 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.994, allocations: 1.061 MB / 1.411 GB, free: 5.676 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/0.9941, allocations: 103 kB / 1.411 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.9944, allocations: 126.8 kB / 1.411 GB, free: 5.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005707/1, allocations: 2.214 MB / 1.413 GB, free: 4.238 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1, allocations: 1.625 kB / 1.413 GB, free: 4.238 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/1, allocations: 53.22 kB / 1.413 GB, free: 4.199 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/1, allocations: 32.72 kB / 1.413 GB, free: 4.199 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008772/1.009, allocations: 2.974 MB / 1.416 GB, free: 2.699 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009535/1.019, allocations: 5.518 MB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009283/1.028, allocations: 2.882 MB / 1.424 GB, free: 12.06 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/1.032, allocations: 1.125 MB / 1.425 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/1.032, allocations: 0.6142 MB / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004235/1.037, allocations: 1.441 MB / 1.427 GB, free: 8.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 3.216e-06/1.037, allocations: 0 / 1.427 GB, free: 8.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.01291/1.049, allocations: 3.637 MB / 1.431 GB, free: 5.066 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.05, allocations: 197.2 kB / 1.431 GB, free: 4.828 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.051, allocations: 0.8178 MB / 1.432 GB, free: 4.004 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/1.051, allocations: 53.7 kB / 1.432 GB, free: 3.945 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/1.051, allocations: 0.5211 MB / 1.433 GB, free: 3.418 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/1.052, allocations: 459.9 kB / 1.433 GB, free: 2.969 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/1.052, allocations: 258.7 kB / 1.433 GB, free: 2.711 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.052, allocations: 345.9 kB / 1.434 GB, free: 2.367 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/1.056, allocations: 1.034 MB / 1.435 GB, free: 1.332 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/1.06, allocations: 1.186 MB / 1.436 GB, free: 116 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007128/1.067, allocations: 2.036 MB / 1.438 GB, free: 14.06 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.067, allocations: 0 / 1.438 GB, free: 14.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008397/1.075, allocations: 2.441 MB / 1.44 GB, free: 11.61 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.076, allocations: 4 kB / 1.44 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.076, allocations: 5.953 kB / 1.44 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/1.076, allocations: 88.83 kB / 1.44 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/1.079, allocations: 419.3 kB / 1.441 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/1.081, allocations: 1.652 MB / 1.442 GB, free: 9.305 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.083, allocations: 291.5 kB / 1.442 GB, free: 9.02 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.084, allocations: 59.94 kB / 1.443 GB, free: 8.961 MB / 1.139 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.0006243/1.084, allocations: 351.8 kB / 1.443 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/1.084, allocations: 123.2 kB / 1.443 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009334/1.094, allocations: 2.878 MB / 1.446 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.094, allocations: 12 kB / 1.446 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.094, allocations: 8 kB / 1.446 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.094, allocations: 7.969 kB / 1.446 GB, free: 5.57 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.096, allocations: 1.824 MB / 1.448 GB, free: 3.695 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.096, allocations: 0 / 1.448 GB, free: 3.695 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/1.099, allocations: 411.3 kB / 1.448 GB, free: 3.293 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/1.099, allocations: 76.78 kB / 1.448 GB, free: 3.215 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/1.099, allocations: 55.88 kB / 1.448 GB, free: 3.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/1.102, allocations: 1.674 MB / 1.45 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.102, allocations: 0 / 1.45 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00853/1.11, allocations: 2.588 MB / 1.452 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007314/1.111, allocations: 471.7 kB / 1.453 GB, free: 14.24 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/1.111, allocations: 31.98 kB / 1.453 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.113, allocations: 224.8 kB / 1.453 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.114, allocations: 105.2 kB / 1.453 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.114, allocations: 63.94 kB / 1.453 GB, free: 13.83 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000814/1.115, allocations: 0.5916 MB / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.115, allocations: 0 / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001263/1.116, allocations: 0.5106 MB / 1.454 GB, free: 12.73 MB / 1.154 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.01087/1.127, allocations: 3.675 MB / 1.458 GB, free: 9.211 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008073/1.135, allocations: 2.496 MB / 1.46 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.135, allocations: 0 / 1.46 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004274/1.139, allocations: 1.4 MB / 1.462 GB, free: 5.289 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.141, allocations: 358.7 kB / 1.462 GB, free: 4.957 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/1.173, allocations: 12.77 MB / 1.474 GB, free: 8.027 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/1.174, allocations: 1.191 MB / 1.476 GB, free: 6.805 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001683/1.175, allocations: 497.4 kB / 1.476 GB, free: 6.316 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.177, allocations: 0.5812 MB / 1.477 GB, free: 5.738 MB / 1.17 GB Notification: Performance of SimCode: time 2.324e-06/1.177, allocations: 0 / 1.477 GB, free: 5.738 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07465/1.251, allocations: 33.2 MB / 1.509 GB, free: 4.844 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.86, allocations: 0.5938 kB / 1.509 GB, free: 4.844 MB / 1.201 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches