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.001445/0.001445, allocations: 97.31 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.001619/0.001619, allocations: 220.1 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.06/3.06, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001916/0.001916, allocations: 62.09 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007835/0.3373, allocations: 5.264 MB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.4984, allocations: 133.3 MB / 1.481 GB, free: 4.844 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4994, allocations: 23.81 kB / 1.481 GB, free: 4.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000844/0.5002, allocations: 229.9 kB / 1.481 GB, free: 4.594 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.5026, allocations: 0.6731 MB / 1.481 GB, free: 3.922 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.5051, allocations: 1.008 MB / 1.482 GB, free: 2.918 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002529/0.5076, allocations: 1.921 MB / 1.484 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.5087, allocations: 0.5226 MB / 1.485 GB, free: 444 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.51, allocations: 0.7048 MB / 1.486 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.5113, allocations: 0.7509 MB / 1.486 GB, free: 14.97 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.5117, allocations: 168 kB / 1.486 GB, free: 14.81 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.5132, allocations: 0.6674 MB / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005837/0.5138, allocations: 454.6 kB / 1.488 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.5149, allocations: 0.6377 MB / 1.488 GB, free: 13.05 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.5182, allocations: 2.28 MB / 1.49 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5182, allocations: 0 / 1.49 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5182, allocations: 4 kB / 1.49 GB, free: 10.76 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.504e-05/0.5183, allocations: 4 kB / 1.49 GB, free: 10.76 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004104/0.5224, allocations: 1.815 MB / 1.492 GB, free: 8.898 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5224, allocations: 12.03 kB / 1.492 GB, free: 8.887 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.025e-05/0.5225, allocations: 34.64 kB / 1.492 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002374/0.5227, allocations: 190 kB / 1.492 GB, free: 8.656 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.5398, allocations: 1.981 MB / 1.494 GB, free: 6.672 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.5419, allocations: 0.9402 MB / 1.495 GB, free: 5.699 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.542, allocations: 94.45 kB / 1.495 GB, free: 5.605 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.5422, allocations: 120 kB / 1.495 GB, free: 5.488 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007293/0.5495, allocations: 2.573 MB / 1.498 GB, free: 2.789 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5496, allocations: 4 kB / 1.498 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.5497, allocations: 52 kB / 1.498 GB, free: 2.734 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.5498, allocations: 32 kB / 1.498 GB, free: 2.703 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.5608, allocations: 3.221 MB / 1.501 GB, free: 15.47 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.5711, allocations: 4.342 MB / 1.505 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.584, allocations: 3.217 MB / 1.509 GB, free: 7.832 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004873/0.5889, allocations: 1.225 MB / 1.51 GB, free: 6.602 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003522/0.5893, allocations: 76.92 kB / 1.51 GB, free: 6.527 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005907/0.5952, allocations: 1.72 MB / 1.511 GB, free: 4.766 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 3.857e-06/0.5952, allocations: 0 / 1.511 GB, free: 4.766 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01727/0.6124, allocations: 3.999 MB / 1.515 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.6126, allocations: 193.2 kB / 1.516 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.6142, allocations: 0.8098 MB / 1.516 GB, free: 15.71 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.6145, allocations: 49.7 kB / 1.516 GB, free: 15.65 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/0.615, allocations: 0.4899 MB / 1.517 GB, free: 15.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/0.6156, allocations: 448.1 kB / 1.517 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007623/0.6164, allocations: 270.7 kB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.6166, allocations: 349.9 kB / 1.518 GB, free: 14.1 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004846/0.6215, allocations: 1.181 MB / 1.519 GB, free: 12.91 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005028/0.6265, allocations: 1.477 MB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009224/0.6357, allocations: 2.278 MB / 1.523 GB, free: 9.074 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6357, allocations: 3.938 kB / 1.523 GB, free: 9.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01086/0.6466, allocations: 2.725 MB / 1.525 GB, free: 6.332 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6466, allocations: 4 kB / 1.525 GB, free: 6.328 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6466, allocations: 4 kB / 1.525 GB, free: 6.324 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.6472, allocations: 80.84 kB / 1.525 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.6506, allocations: 0.5108 MB / 1.526 GB, free: 5.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.6529, allocations: 1.535 MB / 1.527 GB, free: 4.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/0.656, allocations: 362.8 kB / 1.528 GB, free: 3.715 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.6563, allocations: 75.97 kB / 1.528 GB, free: 3.641 MB / 1.217 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.0008743/0.6572, allocations: 327.3 kB / 1.528 GB, free: 3.309 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.6576, allocations: 119.2 kB / 1.528 GB, free: 3.191 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.6703, allocations: 3.308 MB / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.6703, allocations: 16 kB / 1.532 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6703, allocations: 3.984 kB / 1.532 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.6704, allocations: 7.969 kB / 1.532 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.685, allocations: 4.581 MB / 1.536 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.685, allocations: 4 kB / 1.536 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/0.6886, allocations: 499.2 kB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/0.689, allocations: 76.78 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004455/0.6895, allocations: 55.92 kB / 1.537 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.6919, allocations: 1.57 MB / 1.538 GB, free: 8.875 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6919, allocations: 0 / 1.538 GB, free: 8.875 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.7035, allocations: 2.931 MB / 1.541 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.7046, allocations: 370.6 kB / 1.541 GB, free: 5.559 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/0.705, allocations: 28 kB / 1.541 GB, free: 5.531 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/0.708, allocations: 311.5 kB / 1.542 GB, free: 5.227 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.7082, allocations: 113 kB / 1.542 GB, free: 5.117 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/0.7085, allocations: 75.91 kB / 1.542 GB, free: 5.043 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009775/0.7095, allocations: 0.5693 MB / 1.542 GB, free: 4.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7095, allocations: 0 / 1.542 GB, free: 4.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001663/0.7111, allocations: 0.4951 MB / 1.543 GB, free: 3.984 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,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.01402/0.7251, allocations: 4.043 MB / 1.547 GB, free: 124 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01156/0.7367, allocations: 2.753 MB / 1.55 GB, free: 13.35 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.7367, allocations: 0 / 1.55 GB, free: 13.35 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.006164/0.7429, allocations: 1.493 MB / 1.551 GB, free: 11.84 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.7451, allocations: 341.6 kB / 1.551 GB, free: 11.53 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04231/0.7874, allocations: 13.48 MB / 1.565 GB, free: 13.89 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.7882, allocations: 0.5793 MB / 1.565 GB, free: 13.29 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002419/0.7906, allocations: 0.5558 MB / 1.566 GB, free: 12.73 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.792, allocations: 0.546 MB / 1.566 GB, free: 12.18 MB / 1.264 GB Notification: Performance of SimCode: time 1.352e-06/0.792, allocations: 0 / 1.566 GB, free: 12.18 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07988/0.8719, allocations: 35.79 MB / 1.601 GB, free: 8.711 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.82, allocations: 4.062 kB / 1.601 GB, free: 8.707 MB / 1.295 GB " [Timeout remaining time 284] (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: 22.96429909206927]