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.001494/0.001494, allocations: 97.92 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.001375/0.001375, allocations: 219 kB / 23.03 MB, free: 4.945 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.108/3.108, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001929/0.001929, allocations: 68.91 kB / 1.17 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3498, allocations: 179 MB / 1.345 GB, free: 4 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007992/0.3578, allocations: 5.607 MB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.5224, allocations: 133.5 MB / 1.481 GB, free: 4.367 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.5236, allocations: 27.81 kB / 1.481 GB, free: 4.34 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009786/0.5246, allocations: 241.7 kB / 1.481 GB, free: 4.102 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.5272, allocations: 0.7179 MB / 1.482 GB, free: 3.383 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.5301, allocations: 1.025 MB / 1.483 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.5331, allocations: 2.076 MB / 1.485 GB, free: 288 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.5344, allocations: 0.58 MB / 1.486 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.5358, allocations: 0.7749 MB / 1.486 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.5369, allocations: 0.8054 MB / 1.487 GB, free: 14.08 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.5372, allocations: 196 kB / 1.487 GB, free: 13.89 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.5386, allocations: 0.6909 MB / 1.488 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.539, allocations: 494.6 kB / 1.489 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007624/0.5398, allocations: 0.7077 MB / 1.489 GB, free: 12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.543, allocations: 2.545 MB / 1.492 GB, free: 9.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.543, allocations: 4 kB / 1.492 GB, free: 9.441 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.884e-06/0.543, allocations: 4 kB / 1.492 GB, free: 9.438 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.28e-05/0.5431, allocations: 3.938 kB / 1.492 GB, free: 9.434 MB / 1.186 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.003835/0.5469, allocations: 1.91 MB / 1.494 GB, free: 7.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.547, allocations: 8.031 kB / 1.494 GB, free: 7.473 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.384e-05/0.547, allocations: 34.86 kB / 1.494 GB, free: 7.438 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.5472, allocations: 206.7 kB / 1.494 GB, free: 7.227 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.5646, allocations: 1.985 MB / 1.496 GB, free: 5.238 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.5671, allocations: 1.03 MB / 1.497 GB, free: 4.172 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.5672, allocations: 98.67 kB / 1.497 GB, free: 4.074 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.5675, allocations: 132 kB / 1.497 GB, free: 3.945 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008024/0.5755, allocations: 2.753 MB / 1.5 GB, free: 1.07 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.5755, allocations: 3.938 kB / 1.5 GB, free: 1.066 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.5757, allocations: 55.98 kB / 1.5 GB, free: 1.012 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5758, allocations: 32 kB / 1.5 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.5876, allocations: 3.444 MB / 1.503 GB, free: 13.53 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.6002, allocations: 4.975 MB / 1.508 GB, free: 8.484 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.6135, allocations: 3.467 MB / 1.511 GB, free: 5.008 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005369/0.6189, allocations: 1.32 MB / 1.513 GB, free: 3.684 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.6194, allocations: 81.23 kB / 1.513 GB, free: 3.605 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006104/0.6255, allocations: 1.823 MB / 1.515 GB, free: 1.738 MB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 4.268e-06/0.6255, allocations: 0 / 1.515 GB, free: 1.738 MB / 1.201 GB Notification: Performance of matching and sorting (n=133): time 0.0172/0.6427, allocations: 4.256 MB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6428, allocations: 201.2 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6441, allocations: 0.8375 MB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.6444, allocations: 53.7 kB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.6449, allocations: 0.5327 MB / 1.52 GB, free: 11.78 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/0.6454, allocations: 452.1 kB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/0.646, allocations: 270.7 kB / 1.521 GB, free: 11.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6462, allocations: 353.9 kB / 1.521 GB, free: 10.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005012/0.6512, allocations: 1.271 MB / 1.523 GB, free: 9.441 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005297/0.6565, allocations: 1.583 MB / 1.524 GB, free: 7.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00972/0.6662, allocations: 2.422 MB / 1.526 GB, free: 5.348 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.6662, allocations: 4 kB / 1.526 GB, free: 5.344 MB / 1.217 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01151/0.6777, allocations: 2.889 MB / 1.529 GB, free: 2.441 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.6778, allocations: 8 kB / 1.529 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.6778, allocations: 4.062 kB / 1.529 GB, free: 2.43 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/0.6784, allocations: 84.77 kB / 1.529 GB, free: 2.344 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.682, allocations: 0.5069 MB / 1.53 GB, free: 1.836 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.6843, allocations: 1.536 MB / 1.531 GB, free: 188 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.6877, allocations: 366.9 kB / 1.532 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.688, allocations: 67.91 kB / 1.532 GB, free: 15.76 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 (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.001199/0.6892, allocations: 351.3 kB / 1.532 GB, free: 15.4 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/0.6898, allocations: 127.1 kB / 1.532 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.703, allocations: 3.484 MB / 1.536 GB, free: 11.78 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.703, allocations: 19.98 kB / 1.536 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.703, allocations: 3.938 kB / 1.536 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.7031, allocations: 7.984 kB / 1.536 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.7059, allocations: 1.583 MB / 1.537 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.7059, allocations: 4 kB / 1.537 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/0.7092, allocations: 0.4914 MB / 1.538 GB, free: 9.621 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.7097, allocations: 76.77 kB / 1.538 GB, free: 9.543 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/0.7099, allocations: 63.91 kB / 1.538 GB, free: 9.48 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.712, allocations: 1.57 MB / 1.539 GB, free: 7.789 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.712, allocations: 3.938 kB / 1.539 GB, free: 7.785 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.7235, allocations: 3.018 MB / 1.542 GB, free: 4.738 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.7246, allocations: 422.7 kB / 1.543 GB, free: 4.324 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.7251, allocations: 39.97 kB / 1.543 GB, free: 4.285 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/0.7281, allocations: 306.2 kB / 1.543 GB, free: 3.988 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.7284, allocations: 117 kB / 1.543 GB, free: 3.875 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/0.7286, allocations: 67.91 kB / 1.543 GB, free: 3.809 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001038/0.7296, allocations: 0.6083 MB / 1.544 GB, free: 3.207 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7296, allocations: 0 / 1.544 GB, free: 3.207 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001648/0.7313, allocations: 0.5145 MB / 1.544 GB, free: 2.691 MB / 1.232 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.01413/0.7454, allocations: 4.126 MB / 1.548 GB, free: 14.75 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.7572, allocations: 2.941 MB / 1.551 GB, free: 11.79 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.7572, allocations: 7.922 kB / 1.551 GB, free: 11.78 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00628/0.7635, allocations: 1.591 MB / 1.553 GB, free: 10.18 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.7659, allocations: 340.8 kB / 1.553 GB, free: 9.859 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04582/0.8117, allocations: 14.27 MB / 1.567 GB, free: 11.42 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009283/0.8127, allocations: 0.6047 MB / 1.568 GB, free: 10.79 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002578/0.8153, allocations: 0.5677 MB / 1.568 GB, free: 10.21 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.8168, allocations: 0.589 MB / 1.569 GB, free: 9.625 MB / 1.264 GB Notification: Performance of SimCode: time 1.413e-06/0.8168, allocations: 0 / 1.569 GB, free: 9.625 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0803/0.8971, allocations: 37.55 MB / 1.605 GB, free: 4.434 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.15, allocations: 8 kB / 1.605 GB, free: 4.426 MB / 1.295 GB " [Timeout remaining time 284] (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: 23.51271082495805]