Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001726/0.001726, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00222/0.00222, allocations: 210.4 kB / 22.24 MB, free: 5.262 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] 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 3.036/3.036, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_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.00195/0.00195, allocations: 70.66 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3092, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007846/0.317, allocations: 5.265 MB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.4766, allocations: 133.3 MB / 1.499 GB, free: 3.004 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.4776, allocations: 23.81 kB / 1.499 GB, free: 2.98 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007694/0.4784, allocations: 229.9 kB / 1.499 GB, free: 2.754 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.4806, allocations: 0.6864 MB / 1.5 GB, free: 2.066 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.4829, allocations: 1.001 MB / 1.501 GB, free: 1.074 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.4851, allocations: 1.932 MB / 1.503 GB, free: 15.14 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009135/0.486, allocations: 0.4914 MB / 1.503 GB, free: 14.61 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.4871, allocations: 0.7087 MB / 1.504 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.4881, allocations: 0.6806 MB / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.4884, allocations: 164 kB / 1.505 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.4897, allocations: 0.6518 MB / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.4901, allocations: 446.7 kB / 1.506 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008132/0.4909, allocations: 0.6454 MB / 1.506 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.4937, allocations: 2.277 MB / 1.508 GB, free: 9.031 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4937, allocations: 4 kB / 1.508 GB, free: 9.027 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4937, allocations: 0 / 1.508 GB, free: 9.027 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.064e-05/0.4937, allocations: 0 / 1.508 GB, free: 9.027 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003481/0.4972, allocations: 1.826 MB / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4972, allocations: 8.031 kB / 1.51 GB, free: 7.145 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.4975, allocations: 182 kB / 1.51 GB, free: 6.957 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/0.5138, allocations: 1.989 MB / 1.512 GB, free: 4.965 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.5164, allocations: 0.952 MB / 1.513 GB, free: 3.988 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5165, allocations: 86.45 kB / 1.513 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.5169, allocations: 120 kB / 1.513 GB, free: 3.785 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007755/0.5247, allocations: 2.577 MB / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.5247, allocations: 7.938 kB / 1.516 GB, free: 1.074 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.5249, allocations: 44 kB / 1.516 GB, free: 1.031 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.5249, allocations: 32 kB / 1.516 GB, free: 1 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.5369, allocations: 3.17 MB / 1.519 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.5482, allocations: 4.337 MB / 1.523 GB, free: 9.402 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.5618, allocations: 3.211 MB / 1.527 GB, free: 6.191 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00525/0.5671, allocations: 1.225 MB / 1.528 GB, free: 4.957 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.5674, allocations: 76.94 kB / 1.528 GB, free: 4.883 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005848/0.5733, allocations: 1.729 MB / 1.53 GB, free: 3.109 MB / 1.217 GB Notification: Performance of pre-optimization done (n=132): time 4.759e-06/0.5733, allocations: 0 / 1.53 GB, free: 3.109 MB / 1.217 GB Notification: Performance of matching and sorting (n=132): time 0.0169/0.5902, allocations: 3.987 MB / 1.533 GB, free: 15.11 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.5903, allocations: 201.2 kB / 1.534 GB, free: 14.87 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.5916, allocations: 0.802 MB / 1.534 GB, free: 14.06 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.5918, allocations: 53.7 kB / 1.534 GB, free: 14 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.5923, allocations: 0.4899 MB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.5928, allocations: 456.1 kB / 1.535 GB, free: 13.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/0.5933, allocations: 262.8 kB / 1.536 GB, free: 12.79 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5935, allocations: 353.9 kB / 1.536 GB, free: 12.44 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/0.5985, allocations: 1.173 MB / 1.537 GB, free: 11.27 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/0.6038, allocations: 1.481 MB / 1.539 GB, free: 9.711 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009616/0.6134, allocations: 2.282 MB / 1.541 GB, free: 7.418 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.6134, allocations: 0 / 1.541 GB, free: 7.418 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01148/0.6249, allocations: 2.721 MB / 1.543 GB, free: 4.684 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6249, allocations: 4 kB / 1.543 GB, free: 4.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6249, allocations: 4.062 kB / 1.543 GB, free: 4.676 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.6255, allocations: 84.77 kB / 1.543 GB, free: 4.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.6288, allocations: 0.5069 MB / 1.544 GB, free: 4.082 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.6311, allocations: 1.539 MB / 1.545 GB, free: 2.422 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.6342, allocations: 366.9 kB / 1.546 GB, free: 2.062 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.6344, allocations: 63.92 kB / 1.546 GB, free: 2 MB / 1.232 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.0007862/0.6352, allocations: 331.2 kB / 1.546 GB, free: 1.668 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.6356, allocations: 119.2 kB / 1.546 GB, free: 1.551 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.6481, allocations: 3.312 MB / 1.55 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6482, allocations: 12 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6482, allocations: 4 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6482, allocations: 11.97 kB / 1.55 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.6623, allocations: 4.585 MB / 1.554 GB, free: 9.551 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6623, allocations: 7.938 kB / 1.554 GB, free: 9.543 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003207/0.6655, allocations: 0.4953 MB / 1.555 GB, free: 9.047 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.666, allocations: 72.78 kB / 1.555 GB, free: 8.973 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.6661, allocations: 51.92 kB / 1.555 GB, free: 8.922 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.6682, allocations: 1.567 MB / 1.556 GB, free: 7.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6682, allocations: 4.062 kB / 1.556 GB, free: 7.227 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.6794, allocations: 2.927 MB / 1.559 GB, free: 4.277 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.6804, allocations: 374.6 kB / 1.559 GB, free: 3.91 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.6808, allocations: 35.89 kB / 1.559 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/0.6836, allocations: 315.5 kB / 1.56 GB, free: 3.566 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.6838, allocations: 105 kB / 1.56 GB, free: 3.465 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.684, allocations: 71.92 kB / 1.56 GB, free: 3.395 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009075/0.6849, allocations: 0.5771 MB / 1.56 GB, free: 2.82 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6849, allocations: 0 / 1.56 GB, free: 2.82 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001429/0.6864, allocations: 491.1 kB / 1.561 GB, free: 2.34 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,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 (145): * Single equations (assignments): 138 * 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.01334/0.6997, allocations: 4.055 MB / 1.565 GB, free: 14.46 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.7102, allocations: 2.749 MB / 1.568 GB, free: 11.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.7102, allocations: 4 kB / 1.568 GB, free: 11.69 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005383/0.7156, allocations: 1.489 MB / 1.569 GB, free: 10.19 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.7172, allocations: 343.9 kB / 1.569 GB, free: 9.883 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/0.757, allocations: 13.48 MB / 1.583 GB, free: 12.24 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/0.7577, allocations: 0.5676 MB / 1.583 GB, free: 11.64 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00219/0.7599, allocations: 0.552 MB / 1.584 GB, free: 11.08 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.7611, allocations: 0.5538 MB / 1.584 GB, free: 10.53 MB / 1.279 GB Notification: Performance of SimCode: time 7.62e-07/0.7611, allocations: 7.938 kB / 1.584 GB, free: 10.52 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6579/1.419, allocations: 35.95 MB / 1.619 GB, free: 240.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/15.03, allocations: 11.5 kB / 1.619 GB, free: 240.3 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.43458468001336]