Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 204.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.103/3.103, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 66.81 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 176.1 MB / 1.325 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008826/0.3733, allocations: 5.622 MB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5501, allocations: 133.6 MB / 1.461 GB, free: 6.723 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.5515, allocations: 27.81 kB / 1.461 GB, free: 6.695 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.5527, allocations: 249.7 kB / 1.461 GB, free: 6.449 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.5554, allocations: 0.7183 MB / 1.462 GB, free: 5.73 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.5582, allocations: 1.012 MB / 1.463 GB, free: 4.723 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.561, allocations: 2.087 MB / 1.465 GB, free: 2.629 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.5622, allocations: 0.5527 MB / 1.465 GB, free: 2.035 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.5636, allocations: 0.7671 MB / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.5649, allocations: 0.733 MB / 1.467 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005107/0.5654, allocations: 196 kB / 1.467 GB, free: 348 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5671, allocations: 0.6753 MB / 1.468 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.5678, allocations: 490.5 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5689, allocations: 0.7077 MB / 1.469 GB, free: 14.47 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.5725, allocations: 2.542 MB / 1.471 GB, free: 11.92 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5725, allocations: 0 / 1.471 GB, free: 11.92 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5725, allocations: 4 kB / 1.471 GB, free: 11.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.5725, allocations: 0 / 1.471 GB, free: 11.92 MB / 1.17 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.003507/0.576, allocations: 1.917 MB / 1.473 GB, free: 9.953 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.576, allocations: 8.031 kB / 1.473 GB, free: 9.945 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.5763, allocations: 206.7 kB / 1.474 GB, free: 9.734 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00991/0.5862, allocations: 1.381 MB / 1.475 GB, free: 8.352 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.5885, allocations: 1.003 MB / 1.476 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.5886, allocations: 98.67 kB / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.5889, allocations: 128 kB / 1.476 GB, free: 7.098 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.5945, allocations: 2.46 MB / 1.478 GB, free: 4.516 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.5945, allocations: 0 / 1.478 GB, free: 4.516 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.5947, allocations: 63.98 kB / 1.479 GB, free: 4.453 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.5947, allocations: 32 kB / 1.479 GB, free: 4.422 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008001/0.6027, allocations: 2.917 MB / 1.481 GB, free: 1.496 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.613, allocations: 4.504 MB / 1.486 GB, free: 12.92 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0083/0.6213, allocations: 2.784 MB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003288/0.6246, allocations: 1.088 MB / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.6249, allocations: 77.23 kB / 1.49 GB, free: 8.961 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004018/0.629, allocations: 1.558 MB / 1.491 GB, free: 7.363 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 4.839e-06/0.629, allocations: 0 / 1.491 GB, free: 7.363 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01161/0.6406, allocations: 3.562 MB / 1.495 GB, free: 3.793 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.6407, allocations: 201.2 kB / 1.495 GB, free: 3.551 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.6421, allocations: 0.8452 MB / 1.496 GB, free: 2.695 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.6423, allocations: 45.7 kB / 1.496 GB, free: 2.645 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/0.6428, allocations: 0.5328 MB / 1.496 GB, free: 2.105 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/0.6433, allocations: 452.3 kB / 1.497 GB, free: 1.66 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005273/0.6439, allocations: 258.7 kB / 1.497 GB, free: 1.402 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.644, allocations: 349.9 kB / 1.497 GB, free: 1.055 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/0.6473, allocations: 1.029 MB / 1.498 GB, free: 24 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/0.6509, allocations: 1.329 MB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006598/0.6575, allocations: 2.048 MB / 1.502 GB, free: 12.56 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.6575, allocations: 0 / 1.502 GB, free: 12.56 MB / 1.201 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008142/0.6657, allocations: 2.437 MB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.6657, allocations: 4 kB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.6657, allocations: 7.984 kB / 1.504 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/0.6665, allocations: 80.84 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.6691, allocations: 423.3 kB / 1.504 GB, free: 9.602 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.6718, allocations: 1.544 MB / 1.506 GB, free: 7.938 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.6744, allocations: 287 kB / 1.506 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.6747, allocations: 59.92 kB / 1.506 GB, free: 7.598 MB / 1.201 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.001226/0.6759, allocations: 347.9 kB / 1.507 GB, free: 7.246 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/0.6765, allocations: 127.1 kB / 1.507 GB, free: 7.121 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00898/0.6855, allocations: 2.88 MB / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.6855, allocations: 20 kB / 1.51 GB, free: 4.207 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6855, allocations: 0 / 1.51 GB, free: 4.207 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.6855, allocations: 7.969 kB / 1.51 GB, free: 4.199 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.6881, allocations: 1.476 MB / 1.511 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.6882, allocations: 3.938 kB / 1.511 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/0.6905, allocations: 415.3 kB / 1.511 GB, free: 2.273 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.691, allocations: 76.78 kB / 1.511 GB, free: 2.195 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.6912, allocations: 51.94 kB / 1.512 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.6933, allocations: 1.563 MB / 1.513 GB, free: 476 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6933, allocations: 0 / 1.513 GB, free: 476 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007983/0.7013, allocations: 2.588 MB / 1.516 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.7024, allocations: 394.6 kB / 1.516 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/0.7027, allocations: 39.89 kB / 1.516 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.7048, allocations: 223.7 kB / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.705, allocations: 109.1 kB / 1.516 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.7052, allocations: 67.92 kB / 1.516 GB, free: 13.03 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009606/0.7062, allocations: 0.6044 MB / 1.517 GB, free: 12.43 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.7062, allocations: 0 / 1.517 GB, free: 12.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001482/0.7076, allocations: 0.5145 MB / 1.517 GB, free: 11.91 MB / 1.217 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.01035/0.718, allocations: 3.718 MB / 1.521 GB, free: 8.375 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007783/0.7258, allocations: 2.442 MB / 1.523 GB, free: 5.922 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7258, allocations: 0 / 1.523 GB, free: 5.922 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/0.7298, allocations: 1.357 MB / 1.525 GB, free: 4.551 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.7317, allocations: 357.2 kB / 1.525 GB, free: 4.219 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/0.7643, allocations: 12.83 MB / 1.538 GB, free: 7.223 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.7652, allocations: 0.6125 MB / 1.538 GB, free: 6.578 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001981/0.7672, allocations: 497.6 kB / 1.539 GB, free: 6.09 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.7684, allocations: 0.5851 MB / 1.539 GB, free: 5.504 MB / 1.232 GB Notification: Performance of SimCode: time 1.443e-06/0.7685, allocations: 0 / 1.539 GB, free: 5.504 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09297/0.8614, allocations: 35.98 MB / 1.574 GB, free: 1.879 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.82, allocations: 8 kB / 1.574 GB, free: 1.871 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable fin.fraSun in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.fraSun from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTilUns in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTilUns from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTil in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTil from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.644283124711365]