Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001442/0.001442, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001651/0.001651, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.956/2.956, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001944/0.001944, allocations: 71.58 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007601/0.3188, allocations: 5.619 MB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.4748, allocations: 133.6 MB / 1.499 GB, free: 2.379 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/0.4756, allocations: 31.75 kB / 1.499 GB, free: 2.348 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.4762, allocations: 241.8 kB / 1.5 GB, free: 2.109 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.478, allocations: 0.7278 MB / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.4799, allocations: 1.014 MB / 1.501 GB, free: 384 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.4818, allocations: 2.076 MB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.4826, allocations: 0.5566 MB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.4834, allocations: 0.7749 MB / 1.505 GB, free: 12.92 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.4842, allocations: 0.7311 MB / 1.505 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.4845, allocations: 196 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4856, allocations: 0.6753 MB / 1.506 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.486, allocations: 490.6 kB / 1.507 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006791/0.4867, allocations: 0.6961 MB / 1.507 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.4897, allocations: 2.553 MB / 1.51 GB, free: 7.578 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4897, allocations: 0 / 1.51 GB, free: 7.578 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4897, allocations: 4 kB / 1.51 GB, free: 7.574 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.4897, allocations: 0 / 1.51 GB, free: 7.574 MB / 1.201 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.003463/0.4932, allocations: 1.917 MB / 1.512 GB, free: 5.609 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4932, allocations: 8.031 kB / 1.512 GB, free: 5.602 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.4935, allocations: 202.7 kB / 1.512 GB, free: 5.395 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.5098, allocations: 1.985 MB / 1.514 GB, free: 3.406 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.5124, allocations: 1.034 MB / 1.515 GB, free: 2.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.5125, allocations: 102.7 kB / 1.515 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.5128, allocations: 128 kB / 1.515 GB, free: 2.117 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/0.5204, allocations: 2.753 MB / 1.518 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.5205, allocations: 8 kB / 1.518 GB, free: 15.23 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.5207, allocations: 56 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.5207, allocations: 32 kB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.5323, allocations: 3.393 MB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.5439, allocations: 4.975 MB / 1.526 GB, free: 6.695 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.5575, allocations: 3.455 MB / 1.529 GB, free: 3.238 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004988/0.5625, allocations: 1.32 MB / 1.531 GB, free: 1.914 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.5628, allocations: 73.23 kB / 1.531 GB, free: 1.844 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005693/0.5685, allocations: 1.839 MB / 1.532 GB, free: 15.96 MB / 1.232 GB Notification: Performance of pre-optimization done (n=133): time 3.486e-06/0.5685, allocations: 4 kB / 1.533 GB, free: 15.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=133): time 0.01725/0.5858, allocations: 4.245 MB / 1.537 GB, free: 11.7 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.5859, allocations: 197.2 kB / 1.537 GB, free: 11.46 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.5873, allocations: 0.8413 MB / 1.538 GB, free: 10.61 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.5875, allocations: 57.64 kB / 1.538 GB, free: 10.54 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.5881, allocations: 0.5365 MB / 1.538 GB, free: 10 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005017/0.5886, allocations: 452.2 kB / 1.539 GB, free: 9.559 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000592/0.5892, allocations: 270.7 kB / 1.539 GB, free: 9.289 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5894, allocations: 349.9 kB / 1.539 GB, free: 8.941 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005127/0.5945, allocations: 1.271 MB / 1.54 GB, free: 7.668 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/0.6, allocations: 1.575 MB / 1.542 GB, free: 6.02 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009706/0.6097, allocations: 2.43 MB / 1.544 GB, free: 3.574 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.6097, allocations: 0 / 1.544 GB, free: 3.574 MB / 1.232 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01135/0.621, allocations: 2.893 MB / 1.547 GB, free: 0.668 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.621, allocations: 4 kB / 1.547 GB, free: 0.6641 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.621, allocations: 4 kB / 1.547 GB, free: 0.6602 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.6216, allocations: 88.83 kB / 1.547 GB, free: 0.5703 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/0.6249, allocations: 0.5108 MB / 1.548 GB, free: 60 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.627, allocations: 1.539 MB / 1.549 GB, free: 14.4 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.6299, allocations: 366.8 kB / 1.55 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.6301, allocations: 63.92 kB / 1.55 GB, free: 13.98 MB / 1.248 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.0007364/0.6308, allocations: 359.4 kB / 1.55 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.6311, allocations: 123.2 kB / 1.55 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.6437, allocations: 3.48 MB / 1.554 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.6437, allocations: 12 kB / 1.554 GB, free: 9.992 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6437, allocations: 0 / 1.554 GB, free: 9.992 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6437, allocations: 11.97 kB / 1.554 GB, free: 9.98 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.646, allocations: 1.595 MB / 1.555 GB, free: 8.34 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.646, allocations: 0 / 1.555 GB, free: 8.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/0.6492, allocations: 0.4992 MB / 1.556 GB, free: 7.84 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.6496, allocations: 72.78 kB / 1.556 GB, free: 7.766 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.6498, allocations: 55.92 kB / 1.556 GB, free: 7.711 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.6518, allocations: 1.578 MB / 1.557 GB, free: 6.016 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6518, allocations: 3.984 kB / 1.557 GB, free: 6.012 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.6629, allocations: 3.025 MB / 1.56 GB, free: 2.957 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.6641, allocations: 414.5 kB / 1.561 GB, free: 2.551 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.6644, allocations: 32 kB / 1.561 GB, free: 2.52 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/0.6672, allocations: 311.5 kB / 1.561 GB, free: 2.215 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.6674, allocations: 105.1 kB / 1.561 GB, free: 2.113 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.6676, allocations: 67.92 kB / 1.561 GB, free: 2.047 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008672/0.6685, allocations: 0.6122 MB / 1.562 GB, free: 1.438 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6685, allocations: 4 kB / 1.562 GB, free: 1.434 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001329/0.6698, allocations: 0.5106 MB / 1.562 GB, free: 0.9219 MB / 1.248 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 (146): * Single equations (assignments): 139 * 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.01346/0.6833, allocations: 4.133 MB / 1.566 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.6942, allocations: 2.933 MB / 1.569 GB, free: 10.02 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.6942, allocations: 7.938 kB / 1.569 GB, free: 10.01 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005648/0.6999, allocations: 1.591 MB / 1.571 GB, free: 8.41 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.7014, allocations: 360.9 kB / 1.571 GB, free: 8.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/0.742, allocations: 14.28 MB / 1.585 GB, free: 9.625 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.7427, allocations: 0.6062 MB / 1.586 GB, free: 8.992 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00209/0.7448, allocations: 0.5561 MB / 1.586 GB, free: 8.434 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.746, allocations: 0.589 MB / 1.587 GB, free: 7.844 MB / 1.279 GB Notification: Performance of SimCode: time 7.21e-07/0.746, allocations: 0 / 1.587 GB, free: 7.844 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6618/1.408, allocations: 37.7 MB / 1.624 GB, free: 241.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.43, allocations: 11.78 kB / 1.624 GB, free: 241.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.802278401795775]