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.001601/0.001601, allocations: 111 kB / 16.46 MB, free: 6.453 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.001563/0.001563, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.424/1.424, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.042/3.042, allocations: 0.49 GB / 0.7916 GB, free: 33.22 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.00197/0.00197, allocations: 67.28 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009706/0.3868, allocations: 6.303 MB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1941/0.5809, allocations: 155 MB / 1.478 GB, free: 1.461 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.582, allocations: 23.81 kB / 1.478 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.5829, allocations: 241.7 kB / 1.479 GB, free: 1.199 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.5855, allocations: 0.7155 MB / 1.479 GB, free: 496 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.5881, allocations: 1.025 MB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002859/0.5909, allocations: 2.072 MB / 1.482 GB, free: 13.39 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5922, allocations: 0.5832 MB / 1.483 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.5936, allocations: 0.7671 MB / 1.484 GB, free: 12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.5949, allocations: 0.8171 MB / 1.484 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.5954, allocations: 192 kB / 1.485 GB, free: 10.99 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.597, allocations: 0.7143 MB / 1.485 GB, free: 10.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.5976, allocations: 490.5 kB / 1.486 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.5991, allocations: 0.8515 MB / 1.487 GB, free: 8.938 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.6029, allocations: 2.541 MB / 1.489 GB, free: 6.387 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6029, allocations: 0 / 1.489 GB, free: 6.387 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6029, allocations: 4 kB / 1.489 GB, free: 6.383 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.905e-05/0.603, allocations: 0 / 1.489 GB, free: 6.383 MB / 1.186 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.00415/0.6072, allocations: 1.997 MB / 1.491 GB, free: 4.32 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6072, allocations: 11.98 kB / 1.491 GB, free: 4.309 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.6075, allocations: 198.7 kB / 1.491 GB, free: 4.105 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.618, allocations: 1.381 MB / 1.493 GB, free: 2.723 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.6202, allocations: 1.075 MB / 1.494 GB, free: 1.605 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.6203, allocations: 106.6 kB / 1.494 GB, free: 1.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/0.6205, allocations: 132 kB / 1.494 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/0.6267, allocations: 2.205 MB / 1.496 GB, free: 15.11 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.6267, allocations: 0 / 1.496 GB, free: 15.11 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.6269, allocations: 56 kB / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.6269, allocations: 32 kB / 1.496 GB, free: 15.02 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008944/0.6358, allocations: 2.972 MB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.647, allocations: 5.533 MB / 1.504 GB, free: 6.312 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009105/0.6561, allocations: 2.786 MB / 1.507 GB, free: 3.523 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/0.6597, allocations: 1.085 MB / 1.508 GB, free: 2.441 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/0.6605, allocations: 0.6105 MB / 1.509 GB, free: 1.699 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004302/0.6648, allocations: 1.459 MB / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 2.976e-06/0.6648, allocations: 0 / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of matching and sorting (n=133): time 0.01267/0.6775, allocations: 3.629 MB / 1.514 GB, free: 12.57 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.6777, allocations: 193.2 kB / 1.514 GB, free: 12.33 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.679, allocations: 0.8413 MB / 1.515 GB, free: 11.48 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.6792, allocations: 49.7 kB / 1.515 GB, free: 11.43 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.6797, allocations: 0.5289 MB / 1.515 GB, free: 10.89 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/0.6803, allocations: 456.1 kB / 1.516 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/0.6808, allocations: 254.8 kB / 1.516 GB, free: 10.19 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.681, allocations: 353.9 kB / 1.516 GB, free: 9.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/0.6844, allocations: 1.033 MB / 1.517 GB, free: 8.805 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/0.6881, allocations: 1.186 MB / 1.518 GB, free: 7.586 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006795/0.6949, allocations: 2.044 MB / 1.52 GB, free: 5.523 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.6949, allocations: 4 kB / 1.52 GB, free: 5.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008592/0.7035, allocations: 2.433 MB / 1.523 GB, free: 3.074 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.7035, allocations: 8 kB / 1.523 GB, free: 3.066 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7035, allocations: 0 / 1.523 GB, free: 3.066 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/0.7042, allocations: 84.84 kB / 1.523 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/0.7068, allocations: 423.3 kB / 1.523 GB, free: 2.566 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.7091, allocations: 1.654 MB / 1.525 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.7116, allocations: 286.9 kB / 1.525 GB, free: 500 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.7117, allocations: 55.94 kB / 1.525 GB, free: 444 kB / 1.217 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.0008953/0.7126, allocations: 365.5 kB / 1.526 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.713, allocations: 131.2 kB / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0094/0.7224, allocations: 2.872 MB / 1.529 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.7224, allocations: 12 kB / 1.529 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7225, allocations: 0 / 1.529 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.7225, allocations: 3.984 kB / 1.529 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.7253, allocations: 1.843 MB / 1.53 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.7253, allocations: 0 / 1.53 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/0.7277, allocations: 411.4 kB / 1.531 GB, free: 10.74 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.7282, allocations: 72.78 kB / 1.531 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.7284, allocations: 55.94 kB / 1.531 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.7306, allocations: 1.681 MB / 1.532 GB, free: 8.785 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.7306, allocations: 4.031 kB / 1.532 GB, free: 8.781 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008649/0.7393, allocations: 2.585 MB / 1.535 GB, free: 6.168 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000954/0.7402, allocations: 479.6 kB / 1.535 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.7405, allocations: 28 kB / 1.535 GB, free: 5.652 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.7426, allocations: 227.7 kB / 1.536 GB, free: 5.43 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.7428, allocations: 105.2 kB / 1.536 GB, free: 5.328 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.7429, allocations: 59.94 kB / 1.536 GB, free: 5.27 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009398/0.7439, allocations: 0.6044 MB / 1.536 GB, free: 4.672 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.7439, allocations: 0 / 1.536 GB, free: 4.672 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001477/0.7454, allocations: 0.5184 MB / 1.537 GB, free: 4.152 MB / 1.232 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.01093/0.7563, allocations: 3.682 MB / 1.541 GB, free: 0.6211 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008259/0.7646, allocations: 2.457 MB / 1.543 GB, free: 14.15 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.7646, allocations: 4.125 kB / 1.543 GB, free: 14.14 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004151/0.7687, allocations: 1.337 MB / 1.544 GB, free: 12.8 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.7704, allocations: 372.6 kB / 1.545 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/0.8035, allocations: 12.83 MB / 1.557 GB, free: 15.46 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009608/0.8044, allocations: 1.199 MB / 1.558 GB, free: 14.23 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001771/0.8062, allocations: 485.6 kB / 1.559 GB, free: 13.75 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.8074, allocations: 0.589 MB / 1.559 GB, free: 13.16 MB / 1.264 GB Notification: Performance of SimCode: time 6.81e-07/0.8074, allocations: 0 / 1.559 GB, free: 13.16 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08793/0.8953, allocations: 33.72 MB / 1.592 GB, free: 11.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.67, allocations: 13.05 kB / 1.592 GB, free: 11.69 MB / 1.295 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 & /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: 21.853946659946814]