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.001777/0.001777, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001514/0.001514, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="cs",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.002055/0.002055, allocations: 62.5 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3664, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008285/0.3747, allocations: 5.607 MB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1784/0.5531, allocations: 133.5 MB / 1.462 GB, free: 5.918 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.5545, allocations: 23.81 kB / 1.462 GB, free: 5.895 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.5556, allocations: 245.7 kB / 1.463 GB, free: 5.652 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.5587, allocations: 0.7247 MB / 1.463 GB, free: 4.926 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.5617, allocations: 1.016 MB / 1.464 GB, free: 3.914 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003277/0.565, allocations: 2.08 MB / 1.466 GB, free: 1.828 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.5663, allocations: 0.5723 MB / 1.467 GB, free: 1.219 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.5676, allocations: 0.7788 MB / 1.468 GB, free: 448 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.5691, allocations: 0.8132 MB / 1.469 GB, free: 15.62 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.5695, allocations: 192 kB / 1.469 GB, free: 15.43 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5709, allocations: 0.6948 MB / 1.469 GB, free: 14.74 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004893/0.5714, allocations: 490.5 kB / 1.47 GB, free: 14.26 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.5722, allocations: 0.7039 MB / 1.471 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.5753, allocations: 2.545 MB / 1.473 GB, free: 11 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5753, allocations: 4 kB / 1.473 GB, free: 10.99 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5753, allocations: 0 / 1.473 GB, free: 10.99 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.851e-05/0.5753, allocations: 0 / 1.473 GB, free: 10.99 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.003677/0.579, allocations: 1.917 MB / 1.475 GB, free: 9.027 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.579, allocations: 8.031 kB / 1.475 GB, free: 9.02 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.572e-05/0.5791, allocations: 34.86 kB / 1.475 GB, free: 8.984 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.5793, allocations: 206.6 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.5896, allocations: 1.381 MB / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.5918, allocations: 0.9989 MB / 1.477 GB, free: 6.363 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.5919, allocations: 102.7 kB / 1.478 GB, free: 6.262 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.5922, allocations: 131.9 kB / 1.478 GB, free: 6.133 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/0.5978, allocations: 2.46 MB / 1.48 GB, free: 3.551 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.5979, allocations: 4 kB / 1.48 GB, free: 3.547 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.598, allocations: 59.98 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.5981, allocations: 32 kB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007898/0.606, allocations: 2.96 MB / 1.483 GB, free: 500 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009881/0.6159, allocations: 4.508 MB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008011/0.6239, allocations: 2.78 MB / 1.49 GB, free: 9.125 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/0.6271, allocations: 1.088 MB / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.6275, allocations: 77.23 kB / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00395/0.6314, allocations: 1.561 MB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 4.058e-06/0.6315, allocations: 0 / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01131/0.6428, allocations: 3.558 MB / 1.496 GB, free: 2.789 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.6429, allocations: 201.2 kB / 1.496 GB, free: 2.547 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.6442, allocations: 0.8413 MB / 1.497 GB, free: 1.691 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.6444, allocations: 49.7 kB / 1.497 GB, free: 1.637 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.6449, allocations: 0.5367 MB / 1.498 GB, free: 1.094 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.6454, allocations: 456.1 kB / 1.498 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.6459, allocations: 254.8 kB / 1.499 GB, free: 400 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6461, allocations: 349.9 kB / 1.499 GB, free: 44 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/0.6492, allocations: 1.029 MB / 1.5 GB, free: 15.01 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003323/0.6525, allocations: 1.333 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/0.6586, allocations: 2.04 MB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6586, allocations: 0 / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007551/0.6661, allocations: 2.441 MB / 1.506 GB, free: 9.098 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.6662, allocations: 6.031 kB / 1.506 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6662, allocations: 3.984 kB / 1.506 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.6668, allocations: 84.84 kB / 1.506 GB, free: 9.004 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.6692, allocations: 427.3 kB / 1.506 GB, free: 8.586 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.6715, allocations: 1.535 MB / 1.508 GB, free: 6.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.6738, allocations: 286.9 kB / 1.508 GB, free: 6.648 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.674, allocations: 63.92 kB / 1.508 GB, free: 6.586 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.0008864/0.6749, allocations: 351.8 kB / 1.508 GB, free: 6.234 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004112/0.6753, allocations: 127.1 kB / 1.508 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008747/0.6841, allocations: 2.876 MB / 1.511 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.6841, allocations: 12 kB / 1.511 GB, free: 3.207 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6841, allocations: 0 / 1.511 GB, free: 3.207 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.6841, allocations: 11.97 kB / 1.511 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.6866, allocations: 1.472 MB / 1.513 GB, free: 1.684 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.6867, allocations: 4 kB / 1.513 GB, free: 1.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/0.689, allocations: 407.4 kB / 1.513 GB, free: 1.281 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/0.6895, allocations: 84.7 kB / 1.513 GB, free: 1.195 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.6897, allocations: 47.94 kB / 1.513 GB, free: 1.148 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.6918, allocations: 1.57 MB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6918, allocations: 0 / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/0.6999, allocations: 2.585 MB / 1.517 GB, free: 12.85 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.7011, allocations: 398.6 kB / 1.518 GB, free: 12.46 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.7015, allocations: 28 kB / 1.518 GB, free: 12.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/0.7037, allocations: 235.6 kB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.704, allocations: 109.1 kB / 1.518 GB, free: 12.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/0.7042, allocations: 63.92 kB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001163/0.7054, allocations: 0.6005 MB / 1.519 GB, free: 11.44 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7054, allocations: 4 kB / 1.519 GB, free: 11.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00166/0.7071, allocations: 0.5222 MB / 1.519 GB, free: 10.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.01023/0.7173, allocations: 3.707 MB / 1.523 GB, free: 7.383 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007759/0.725, allocations: 2.449 MB / 1.525 GB, free: 4.918 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.7251, allocations: 4.125 kB / 1.525 GB, free: 4.914 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.7292, allocations: 1.341 MB / 1.526 GB, free: 3.562 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.7315, allocations: 369.2 kB / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/0.7645, allocations: 12.83 MB / 1.539 GB, free: 6.223 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008734/0.7654, allocations: 0.6104 MB / 1.54 GB, free: 5.578 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00188/0.7673, allocations: 489.6 kB / 1.54 GB, free: 5.098 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.7685, allocations: 0.5889 MB / 1.541 GB, free: 4.508 MB / 1.232 GB Notification: Performance of SimCode: time 1.052e-06/0.7685, allocations: 0 / 1.541 GB, free: 4.508 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0796/0.8481, allocations: 35.8 MB / 1.576 GB, free: 1.094 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/17.74, allocations: 11.25 kB / 1.576 GB, free: 1.086 MB / 1.264 GB " [Timeout remaining time 282] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.909793304046616]