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.001451/0.001451, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001417/0.001417, allocations: 210.4 kB / 22.24 MB, free: 5.102 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.292/1.292, allocations: 230.6 MB / 256 MB, free: 7.812 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 2.952/2.952, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.00197/0.00197, allocations: 63.84 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007193/0.3022, allocations: 5.277 MB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.4591, allocations: 133.3 MB / 1.499 GB, free: 2.953 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00086/0.46, allocations: 27.81 kB / 1.499 GB, free: 2.926 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.4606, allocations: 225.9 kB / 1.499 GB, free: 2.703 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.4624, allocations: 0.6806 MB / 1.5 GB, free: 2.023 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.4645, allocations: 0.9923 MB / 1.501 GB, free: 1.035 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.4665, allocations: 1.932 MB / 1.503 GB, free: 15.1 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/0.4673, allocations: 0.4914 MB / 1.503 GB, free: 14.57 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008698/0.4682, allocations: 0.7125 MB / 1.504 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.469, allocations: 0.6728 MB / 1.504 GB, free: 13.18 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.4692, allocations: 172 kB / 1.505 GB, free: 13.01 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4704, allocations: 0.644 MB / 1.505 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.4708, allocations: 458.6 kB / 1.506 GB, free: 11.92 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000627/0.4714, allocations: 0.6299 MB / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.4739, allocations: 2.288 MB / 1.508 GB, free: 8.988 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4739, allocations: 0 / 1.508 GB, free: 8.988 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4739, allocations: 4 kB / 1.508 GB, free: 8.984 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.4739, allocations: 0 / 1.508 GB, free: 8.984 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.003259/0.4772, allocations: 1.818 MB / 1.51 GB, free: 7.117 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4772, allocations: 12.03 kB / 1.51 GB, free: 7.105 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000208/0.4774, allocations: 182 kB / 1.51 GB, free: 6.918 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.4937, allocations: 1.993 MB / 1.512 GB, free: 4.922 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.4958, allocations: 0.9442 MB / 1.513 GB, free: 3.953 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.4959, allocations: 98.44 kB / 1.513 GB, free: 3.855 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.4961, allocations: 112 kB / 1.513 GB, free: 3.746 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00715/0.5033, allocations: 2.577 MB / 1.516 GB, free: 1.043 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5033, allocations: 0 / 1.516 GB, free: 1.043 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.5035, allocations: 59.98 kB / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.5035, allocations: 28 kB / 1.516 GB, free: 0.957 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.5149, allocations: 3.17 MB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.5252, allocations: 4.33 MB / 1.523 GB, free: 9.367 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.5384, allocations: 3.211 MB / 1.527 GB, free: 6.156 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004948/0.5434, allocations: 1.237 MB / 1.528 GB, free: 4.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.5437, allocations: 72.92 kB / 1.528 GB, free: 4.84 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005638/0.5493, allocations: 1.728 MB / 1.529 GB, free: 3.07 MB / 1.217 GB Notification: Performance of pre-optimization done (n=132): time 3.647e-06/0.5493, allocations: 0 / 1.529 GB, free: 3.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=132): time 0.01657/0.5659, allocations: 3.995 MB / 1.533 GB, free: 15.06 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.566, allocations: 193.2 kB / 1.534 GB, free: 14.83 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5671, allocations: 0.802 MB / 1.534 GB, free: 14.02 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.5673, allocations: 53.7 kB / 1.534 GB, free: 13.96 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.5677, allocations: 493.7 kB / 1.535 GB, free: 13.47 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/0.5681, allocations: 460.2 kB / 1.535 GB, free: 13.02 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.5687, allocations: 274.7 kB / 1.536 GB, free: 12.75 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5688, allocations: 341.9 kB / 1.536 GB, free: 12.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/0.5737, allocations: 1.185 MB / 1.537 GB, free: 11.22 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/0.5789, allocations: 1.477 MB / 1.539 GB, free: 9.668 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0093/0.5882, allocations: 2.282 MB / 1.541 GB, free: 7.375 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.5882, allocations: 4 kB / 1.541 GB, free: 7.371 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01094/0.5991, allocations: 2.717 MB / 1.543 GB, free: 4.641 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5991, allocations: 6.5 kB / 1.543 GB, free: 4.637 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5991, allocations: 4 kB / 1.543 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.5997, allocations: 80.84 kB / 1.543 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.603, allocations: 0.507 MB / 1.544 GB, free: 4.043 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.6051, allocations: 1.539 MB / 1.545 GB, free: 2.383 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.6081, allocations: 363.1 kB / 1.546 GB, free: 2.027 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.6083, allocations: 71.91 kB / 1.546 GB, free: 1.957 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.0007212/0.609, allocations: 331.9 kB / 1.546 GB, free: 1.625 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.6094, allocations: 123.3 kB / 1.546 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.6218, allocations: 3.308 MB / 1.55 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.6219, allocations: 16 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6219, allocations: 0 / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6219, allocations: 7.969 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.6359, allocations: 4.589 MB / 1.554 GB, free: 9.508 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6359, allocations: 0 / 1.554 GB, free: 9.508 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/0.6391, allocations: 0.4953 MB / 1.555 GB, free: 9.012 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.6396, allocations: 80.77 kB / 1.555 GB, free: 8.93 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.6398, allocations: 59.91 kB / 1.555 GB, free: 8.871 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.6417, allocations: 1.559 MB / 1.556 GB, free: 7.188 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6417, allocations: 0 / 1.556 GB, free: 7.188 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.6529, allocations: 2.939 MB / 1.559 GB, free: 4.227 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.654, allocations: 366.6 kB / 1.559 GB, free: 3.867 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.6543, allocations: 35.89 kB / 1.559 GB, free: 3.832 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/0.6571, allocations: 311.5 kB / 1.56 GB, free: 3.527 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.6574, allocations: 117 kB / 1.56 GB, free: 3.414 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.6575, allocations: 63.92 kB / 1.56 GB, free: 3.352 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000803/0.6583, allocations: 0.5732 MB / 1.56 GB, free: 2.781 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6583, allocations: 0 / 1.56 GB, free: 2.781 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001263/0.6596, allocations: 495.1 kB / 1.561 GB, free: 2.297 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.01351/0.6731, allocations: 4.045 MB / 1.565 GB, free: 14.43 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.684, allocations: 2.753 MB / 1.568 GB, free: 11.66 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.684, allocations: 3.984 kB / 1.568 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005633/0.6896, allocations: 1.489 MB / 1.569 GB, free: 10.15 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6912, allocations: 345.3 kB / 1.569 GB, free: 9.84 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04008/0.7312, allocations: 13.48 MB / 1.583 GB, free: 12.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.7319, allocations: 0.5736 MB / 1.583 GB, free: 11.59 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002115/0.734, allocations: 0.5519 MB / 1.584 GB, free: 11.04 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.7351, allocations: 0.5538 MB / 1.584 GB, free: 10.48 MB / 1.279 GB Notification: Performance of SimCode: time 6.32e-07/0.7351, allocations: 0 / 1.584 GB, free: 10.48 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6135/1.349, allocations: 35.96 MB / 1.619 GB, free: 240.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.47, allocations: 1.969 kB / 1.619 GB, free: 240.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 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.mat","/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: 20.689617301803082]