Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001374/0.001374, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002092/0.002092, allocations: 219.9 kB / 22.26 MB, free: 5.121 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.962/2.962, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_11_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.002894/0.002894, allocations: 73.81 kB / 1.117 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3936, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.01025/0.4039, allocations: 6.344 MB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2067/0.6106, allocations: 155.1 MB / 1.441 GB, free: 1.758 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.6119, allocations: 31.75 kB / 1.441 GB, free: 1.727 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.613, allocations: 241.7 kB / 1.441 GB, free: 1.488 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.6159, allocations: 0.7216 MB / 1.442 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.6192, allocations: 1.035 MB / 1.443 GB, free: 15.74 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.6225, allocations: 2.084 MB / 1.445 GB, free: 13.65 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.624, allocations: 0.5767 MB / 1.446 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.6256, allocations: 0.771 MB / 1.446 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.6271, allocations: 0.8152 MB / 1.447 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005846/0.6277, allocations: 196 kB / 1.447 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.6297, allocations: 0.7143 MB / 1.448 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007975/0.6305, allocations: 486.6 kB / 1.448 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.6321, allocations: 0.867 MB / 1.449 GB, free: 9.191 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.6363, allocations: 2.53 MB / 1.452 GB, free: 6.652 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6363, allocations: 0 / 1.452 GB, free: 6.652 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6363, allocations: 0 / 1.452 GB, free: 6.652 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.577e-05/0.6364, allocations: 7.938 kB / 1.452 GB, free: 6.645 MB / 1.154 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.004604/0.641, allocations: 1.917 MB / 1.454 GB, free: 4.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.641, allocations: 8.031 kB / 1.454 GB, free: 4.672 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002771/0.6413, allocations: 202.7 kB / 1.454 GB, free: 4.465 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.652, allocations: 1.377 MB / 1.455 GB, free: 3.086 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.6547, allocations: 1.003 MB / 1.456 GB, free: 2.051 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6548, allocations: 102.6 kB / 1.456 GB, free: 1.949 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/0.6552, allocations: 136 kB / 1.456 GB, free: 1.816 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/0.6613, allocations: 2.205 MB / 1.459 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.6613, allocations: 4 kB / 1.459 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.6615, allocations: 60 kB / 1.459 GB, free: 15.49 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.6615, allocations: 32 kB / 1.459 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008246/0.6698, allocations: 2.96 MB / 1.462 GB, free: 12.49 MB / 1.17 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.01166/0.6814, allocations: 5.327 MB / 1.467 GB, free: 7.012 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008481/0.6899, allocations: 2.798 MB / 1.469 GB, free: 4.211 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.6933, allocations: 1.082 MB / 1.471 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/0.6937, allocations: 85.34 kB / 1.471 GB, free: 3.035 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004006/0.6977, allocations: 1.454 MB / 1.472 GB, free: 1.562 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 4.839e-06/0.6977, allocations: 0 / 1.472 GB, free: 1.562 MB / 1.17 GB Notification: Performance of matching and sorting (n=133): time 0.01217/0.7099, allocations: 3.55 MB / 1.476 GB, free: 14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.71, allocations: 205.2 kB / 1.476 GB, free: 13.76 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.7116, allocations: 0.8336 MB / 1.477 GB, free: 12.91 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.7119, allocations: 53.7 kB / 1.477 GB, free: 12.86 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/0.7124, allocations: 0.5366 MB / 1.477 GB, free: 12.31 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/0.713, allocations: 456.1 kB / 1.478 GB, free: 11.86 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005929/0.7136, allocations: 250.8 kB / 1.478 GB, free: 11.61 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7138, allocations: 349.9 kB / 1.478 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/0.7171, allocations: 1.033 MB / 1.479 GB, free: 10.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.7206, allocations: 1.179 MB / 1.48 GB, free: 9.023 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006469/0.7271, allocations: 2.048 MB / 1.482 GB, free: 6.957 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.7271, allocations: 0 / 1.482 GB, free: 6.957 MB / 1.186 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00806/0.7352, allocations: 2.433 MB / 1.485 GB, free: 4.512 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.7352, allocations: 12.06 kB / 1.485 GB, free: 4.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7352, allocations: 0 / 1.485 GB, free: 4.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.7359, allocations: 84.77 kB / 1.485 GB, free: 4.414 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.7383, allocations: 427.3 kB / 1.485 GB, free: 3.996 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.7409, allocations: 1.539 MB / 1.487 GB, free: 2.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.7433, allocations: 285.5 kB / 1.487 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.7436, allocations: 67.88 kB / 1.487 GB, free: 1.996 MB / 1.186 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.001049/0.7446, allocations: 357.2 kB / 1.487 GB, free: 1.641 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.7452, allocations: 123.2 kB / 1.487 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009344/0.7545, allocations: 2.88 MB / 1.49 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.7545, allocations: 16 kB / 1.49 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7545, allocations: 0 / 1.49 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.7546, allocations: 7.969 kB / 1.49 GB, free: 14.6 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.7577, allocations: 1.811 MB / 1.492 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.7578, allocations: 0 / 1.492 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/0.7603, allocations: 415.4 kB / 1.492 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/0.7608, allocations: 84.64 kB / 1.493 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.7611, allocations: 51.94 kB / 1.493 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.7634, allocations: 1.574 MB / 1.494 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7634, allocations: 0 / 1.494 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008616/0.772, allocations: 2.588 MB / 1.497 GB, free: 7.891 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.7733, allocations: 394.6 kB / 1.497 GB, free: 7.504 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/0.7738, allocations: 28 kB / 1.497 GB, free: 7.477 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/0.7761, allocations: 227.7 kB / 1.497 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.7763, allocations: 109.1 kB / 1.497 GB, free: 7.148 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.7766, allocations: 63.92 kB / 1.497 GB, free: 7.086 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001245/0.7778, allocations: 0.6044 MB / 1.498 GB, free: 6.488 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7778, allocations: 0 / 1.498 GB, free: 6.488 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002007/0.7798, allocations: 0.5183 MB / 1.499 GB, free: 5.969 MB / 1.201 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.011/0.7908, allocations: 3.69 MB / 1.502 GB, free: 2.434 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007876/0.7987, allocations: 2.449 MB / 1.505 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.7987, allocations: 0 / 1.505 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.8028, allocations: 1.349 MB / 1.506 GB, free: 14.61 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.8049, allocations: 353 kB / 1.506 GB, free: 14.27 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/0.8396, allocations: 12.83 MB / 1.519 GB, free: 1.281 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.841, allocations: 1.199 MB / 1.52 GB, free: 48 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002242/0.8432, allocations: 489.8 kB / 1.52 GB, free: 15.56 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.8447, allocations: 0.5889 MB / 1.521 GB, free: 14.98 MB / 1.232 GB Notification: Performance of SimCode: time 1.644e-06/0.8447, allocations: 0 / 1.521 GB, free: 14.98 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.9449, allocations: 34.7 MB / 1.555 GB, free: 12.54 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.38, allocations: 6.562 kB / 1.555 GB, free: 12.54 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.136329350993037]