Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.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.001354/0.001354, 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.001547/0.001547, allocations: 213.9 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.797/2.797, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 177] 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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_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.002021/0.002021, allocations: 63.5 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3049, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008675/0.3135, allocations: 5.264 MB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.4847, allocations: 133.2 MB / 1.419 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.4856, allocations: 23.81 kB / 1.419 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.4862, allocations: 229.8 kB / 1.42 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.4883, allocations: 0.6767 MB / 1.42 GB, free: 14.66 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.4908, allocations: 1.001 MB / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.4937, allocations: 1.928 MB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/0.4946, allocations: 0.5071 MB / 1.424 GB, free: 11.19 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.4959, allocations: 0.7165 MB / 1.424 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.4972, allocations: 0.7471 MB / 1.425 GB, free: 9.723 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.4974, allocations: 164 kB / 1.425 GB, free: 9.562 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.4988, allocations: 0.6791 MB / 1.426 GB, free: 8.883 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004624/0.4993, allocations: 446.6 kB / 1.426 GB, free: 8.445 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.5001, allocations: 0.6416 MB / 1.427 GB, free: 7.801 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.5031, allocations: 2.278 MB / 1.429 GB, free: 5.516 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5031, allocations: 4 kB / 1.429 GB, free: 5.512 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5031, allocations: 0 / 1.429 GB, free: 5.512 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.5031, allocations: 0 / 1.429 GB, free: 5.512 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003667/0.5068, allocations: 1.822 MB / 1.431 GB, free: 3.641 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5068, allocations: 12.03 kB / 1.431 GB, free: 3.629 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.754e-05/0.5069, allocations: 30.64 kB / 1.431 GB, free: 3.598 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002347/0.5071, allocations: 190 kB / 1.431 GB, free: 3.402 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.5179, allocations: 1.365 MB / 1.432 GB, free: 2.035 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.5199, allocations: 0.9323 MB / 1.433 GB, free: 1.074 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/0.52, allocations: 94.45 kB / 1.433 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.5202, allocations: 124 kB / 1.434 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/0.5257, allocations: 2.285 MB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.5257, allocations: 4 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.5258, allocations: 55.94 kB / 1.436 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.5259, allocations: 28 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007834/0.5337, allocations: 2.756 MB / 1.439 GB, free: 11.6 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.009165/0.5429, allocations: 3.987 MB / 1.443 GB, free: 7.527 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008222/0.5511, allocations: 2.591 MB / 1.445 GB, free: 4.938 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/0.5544, allocations: 0.9912 MB / 1.446 GB, free: 3.945 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.5548, allocations: 80.92 kB / 1.446 GB, free: 3.863 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00382/0.5586, allocations: 1.449 MB / 1.447 GB, free: 2.371 MB / 1.139 GB Notification: Performance of pre-optimization done (n=132): time 3.637e-06/0.5586, allocations: 0 / 1.447 GB, free: 2.371 MB / 1.139 GB Notification: Performance of matching and sorting (n=132): time 0.01102/0.5696, allocations: 3.316 MB / 1.451 GB, free: 15.05 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5697, allocations: 197.2 kB / 1.451 GB, free: 14.81 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5709, allocations: 0.798 MB / 1.452 GB, free: 14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.571, allocations: 53.7 kB / 1.452 GB, free: 13.94 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.5715, allocations: 497.9 kB / 1.452 GB, free: 13.45 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.5719, allocations: 460 kB / 1.453 GB, free: 12.99 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/0.5725, allocations: 254.8 kB / 1.453 GB, free: 12.74 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5727, allocations: 353.9 kB / 1.453 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002964/0.5756, allocations: 0.9392 MB / 1.454 GB, free: 11.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/0.5789, allocations: 1.247 MB / 1.455 GB, free: 10.13 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005852/0.5847, allocations: 1.903 MB / 1.457 GB, free: 8.211 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5847, allocations: 0 / 1.457 GB, free: 8.211 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007172/0.5919, allocations: 2.281 MB / 1.459 GB, free: 5.918 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5919, allocations: 4 kB / 1.459 GB, free: 5.914 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5919, allocations: 64 / 1.459 GB, free: 5.914 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.5926, allocations: 88.77 kB / 1.46 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.5951, allocations: 423.3 kB / 1.46 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.5974, allocations: 1.543 MB / 1.461 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.5996, allocations: 281.4 kB / 1.462 GB, free: 3.473 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.5997, allocations: 59.94 kB / 1.462 GB, free: 3.414 MB / 1.154 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 (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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (142): * Single equations (assignments): 141 * 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.0007636/0.6005, allocations: 327.3 kB / 1.462 GB, free: 3.086 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.6008, allocations: 123.2 kB / 1.462 GB, free: 2.965 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008333/0.6092, allocations: 2.723 MB / 1.465 GB, free: 232 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.6092, allocations: 12 kB / 1.465 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.6092, allocations: 0 / 1.465 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.6092, allocations: 11.97 kB / 1.465 GB, free: 208 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.6196, allocations: 4.033 MB / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6196, allocations: 4 kB / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/0.6219, allocations: 415.2 kB / 1.469 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.6223, allocations: 72.78 kB / 1.469 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.6225, allocations: 55.94 kB / 1.469 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.6247, allocations: 1.562 MB / 1.471 GB, free: 9.887 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6247, allocations: 0 / 1.471 GB, free: 9.887 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/0.6328, allocations: 2.502 MB / 1.473 GB, free: 7.363 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.6338, allocations: 350.6 kB / 1.474 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.6341, allocations: 35.94 kB / 1.474 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/0.6363, allocations: 227.7 kB / 1.474 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.6366, allocations: 109 kB / 1.474 GB, free: 6.656 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.6367, allocations: 67.92 kB / 1.474 GB, free: 6.59 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009037/0.6376, allocations: 0.5732 MB / 1.475 GB, free: 6.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6376, allocations: 0 / 1.475 GB, free: 6.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001591/0.6392, allocations: 0.495 MB / 1.475 GB, free: 5.523 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.01063/0.6498, allocations: 3.644 MB / 1.479 GB, free: 2.059 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00757/0.6574, allocations: 2.274 MB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6574, allocations: 128 / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.6612, allocations: 1.259 MB / 1.482 GB, free: 14.5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.663, allocations: 351.1 kB / 1.482 GB, free: 14.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/0.6931, allocations: 12.11 MB / 1.494 GB, free: 1.918 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.6938, allocations: 0.5718 MB / 1.495 GB, free: 1.312 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001721/0.6955, allocations: 481.4 kB / 1.495 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.6966, allocations: 0.5499 MB / 1.496 GB, free: 296 kB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/0.6966, allocations: 4 kB / 1.496 GB, free: 292 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/0.7761, allocations: 34.17 MB / 1.529 GB, free: 14.51 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/16.93, allocations: 9 kB / 1.529 GB, free: 14.51 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.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: 23.832313118036836]