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.00168/0.00168, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002161/0.002161, allocations: 219.1 kB / 23.03 MB, free: 4.949 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.946/2.946, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_11_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.002092/0.002092, allocations: 65.22 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3532, allocations: 169.9 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009653/0.3628, allocations: 5.614 MB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.547, allocations: 133.5 MB / 1.42 GB, free: 15.1 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.5483, allocations: 23.81 kB / 1.42 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008638/0.5491, allocations: 249.6 kB / 1.42 GB, free: 14.83 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.5517, allocations: 0.7209 MB / 1.421 GB, free: 14.11 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5544, allocations: 1.024 MB / 1.422 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.5574, allocations: 2.076 MB / 1.424 GB, free: 11.01 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.5586, allocations: 0.5801 MB / 1.424 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.56, allocations: 0.771 MB / 1.425 GB, free: 9.617 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.5613, allocations: 0.8132 MB / 1.426 GB, free: 8.801 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.5617, allocations: 196 kB / 1.426 GB, free: 8.609 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.5634, allocations: 0.6948 MB / 1.427 GB, free: 7.914 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000574/0.564, allocations: 494.4 kB / 1.427 GB, free: 7.43 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.565, allocations: 0.7078 MB / 1.428 GB, free: 6.719 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003944/0.5689, allocations: 2.547 MB / 1.43 GB, free: 4.164 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5689, allocations: 0 / 1.43 GB, free: 4.164 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5689, allocations: 4 kB / 1.43 GB, free: 4.16 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.116e-05/0.569, allocations: 0 / 1.43 GB, free: 4.16 MB / 1.123 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.004847/0.5738, allocations: 1.917 MB / 1.432 GB, free: 2.195 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5739, allocations: 12.03 kB / 1.432 GB, free: 2.184 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.637e-05/0.5739, allocations: 34.86 kB / 1.432 GB, free: 2.148 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002845/0.5742, allocations: 198.7 kB / 1.433 GB, free: 1.945 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.5853, allocations: 1.381 MB / 1.434 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.5879, allocations: 1.003 MB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.588, allocations: 98.67 kB / 1.435 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.5883, allocations: 128 kB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006387/0.5947, allocations: 2.46 MB / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.5947, allocations: 0 / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.5949, allocations: 59.98 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.595, allocations: 32 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008611/0.6036, allocations: 2.964 MB / 1.441 GB, free: 9.656 MB / 1.139 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.01085/0.6144, allocations: 4.507 MB / 1.445 GB, free: 5.074 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008449/0.6229, allocations: 2.796 MB / 1.448 GB, free: 2.277 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.6262, allocations: 1.073 MB / 1.449 GB, free: 1.207 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.6266, allocations: 81.23 kB / 1.449 GB, free: 1.125 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004129/0.6307, allocations: 1.554 MB / 1.45 GB, free: 15.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.757e-06/0.6307, allocations: 0 / 1.45 GB, free: 15.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=133): time 0.01197/0.6427, allocations: 3.562 MB / 1.454 GB, free: 11.95 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.6429, allocations: 193.2 kB / 1.454 GB, free: 11.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.6443, allocations: 0.8375 MB / 1.455 GB, free: 10.87 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.6445, allocations: 53.7 kB / 1.455 GB, free: 10.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/0.645, allocations: 0.5327 MB / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.6455, allocations: 452.1 kB / 1.456 GB, free: 9.832 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.6461, allocations: 258.8 kB / 1.456 GB, free: 9.574 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6463, allocations: 353.9 kB / 1.456 GB, free: 9.223 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.6495, allocations: 1.029 MB / 1.457 GB, free: 8.191 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.6531, allocations: 1.341 MB / 1.459 GB, free: 6.781 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006429/0.6595, allocations: 2.04 MB / 1.461 GB, free: 4.723 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.6596, allocations: 4 kB / 1.461 GB, free: 4.719 MB / 1.154 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007928/0.6675, allocations: 2.433 MB / 1.463 GB, free: 2.273 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.6675, allocations: 8 kB / 1.463 GB, free: 2.266 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6675, allocations: 8 kB / 1.463 GB, free: 2.258 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.6682, allocations: 80.78 kB / 1.463 GB, free: 2.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/0.6707, allocations: 423.3 kB / 1.464 GB, free: 1.762 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.6731, allocations: 1.539 MB / 1.465 GB, free: 108 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.6756, allocations: 286.9 kB / 1.465 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.6759, allocations: 63.94 kB / 1.465 GB, free: 15.76 MB / 1.17 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.0009515/0.6768, allocations: 347.3 kB / 1.466 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/0.6773, allocations: 119.2 kB / 1.466 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008974/0.6863, allocations: 2.888 MB / 1.469 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6863, allocations: 16 kB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.6863, allocations: 0 / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.6863, allocations: 7.969 kB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.689, allocations: 1.468 MB / 1.47 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.689, allocations: 0 / 1.47 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/0.6915, allocations: 415.3 kB / 1.471 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.692, allocations: 76.78 kB / 1.471 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.6922, allocations: 47.94 kB / 1.471 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.6944, allocations: 1.57 MB / 1.472 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6945, allocations: 4.062 kB / 1.472 GB, free: 8.637 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008151/0.7026, allocations: 2.584 MB / 1.475 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.7037, allocations: 402.6 kB / 1.475 GB, free: 5.629 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/0.7041, allocations: 31.98 kB / 1.475 GB, free: 5.598 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/0.7063, allocations: 223.7 kB / 1.475 GB, free: 5.379 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.7066, allocations: 105.1 kB / 1.475 GB, free: 5.277 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/0.7068, allocations: 67.92 kB / 1.475 GB, free: 5.211 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001038/0.7078, allocations: 0.6044 MB / 1.476 GB, free: 4.609 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7078, allocations: 0 / 1.476 GB, free: 4.609 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001649/0.7095, allocations: 0.5106 MB / 1.477 GB, free: 4.098 MB / 1.17 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.01089/0.7204, allocations: 3.737 MB / 1.48 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007892/0.7283, allocations: 2.442 MB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7283, allocations: 4 kB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/0.7322, allocations: 1.349 MB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.734, allocations: 347.8 kB / 1.484 GB, free: 12.4 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/0.7689, allocations: 12.84 MB / 1.497 GB, free: 15.4 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009004/0.7698, allocations: 0.6082 MB / 1.497 GB, free: 14.76 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002146/0.7719, allocations: 489.7 kB / 1.498 GB, free: 14.28 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.7733, allocations: 0.5968 MB / 1.498 GB, free: 13.68 MB / 1.201 GB Notification: Performance of SimCode: time 1.403e-06/0.7733, allocations: 0 / 1.498 GB, free: 13.68 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0881/0.8614, allocations: 35.8 MB / 1.533 GB, free: 10.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/17.55, allocations: 6.562 kB / 1.533 GB, free: 10.3 MB / 1.232 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.04344105196651]