Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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.001514/0.001514, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.0018/0.0018, allocations: 161.3 kB / 22.76 MB, free: 1.656 MB / 18.57 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.216/3.216, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8777 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.58e-05, allocations: 3.5 kB / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002667/0.002703, allocations: 0.8619 MB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004375, allocations: 0.9016 MB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.004471, allocations: 4 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004604, allocations: 15.8 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.004783, allocations: 27.78 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.004964, allocations: 38.02 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.00522, allocations: 143.5 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.005414, allocations: 33.52 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.005583, allocations: 79.75 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.00577, allocations: 75.83 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.005812, allocations: 12 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.005844, allocations: 16.94 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.005926, allocations: 39.84 kB / 0.8799 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.006009, allocations: 45.02 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.006281, allocations: 175.4 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006284, allocations: 0 / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006285, allocations: 1.094 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.006291, allocations: 4 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001141/0.007432, allocations: 444 kB / 0.8805 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.007491, allocations: 9.938 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.007578, allocations: 20.84 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.007867, allocations: 162.3 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.007889, allocations: 12.33 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.007917, allocations: 8.359 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.008532, allocations: 183 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.008545, allocations: 192 / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.008567, allocations: 5.031 kB / 0.8809 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.008576, allocations: 4.375 kB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.009423, allocations: 231.6 kB / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01057, allocations: 434.9 kB / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.0111, allocations: 145.4 kB / 0.8817 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.01153, allocations: 117.5 kB / 0.8818 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.01155, allocations: 4 kB / 0.8818 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.01161, allocations: 30.56 kB / 0.8818 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.01161, allocations: 0 / 0.8818 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.001434/0.01304, allocations: 369.8 kB / 0.8821 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.01309, allocations: 51.41 kB / 0.8822 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.01332, allocations: 184.1 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.01335, allocations: 29.7 kB / 0.8824 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01346, allocations: 124 kB / 0.8825 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.01352, allocations: 35.69 kB / 0.8826 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.0136, allocations: 17.72 kB / 0.8826 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.0138, allocations: 334.8 kB / 0.8829 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.01421, allocations: 99.88 kB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.01463, allocations: 111.9 kB / 0.8831 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.01563, allocations: 208.6 kB / 0.8833 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01564, allocations: 0 / 0.8833 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009094/0.01655, allocations: 261.3 kB / 0.8835 GB, free: 272 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.01657, allocations: 8 kB / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01657, allocations: 0 / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01659, allocations: 0 / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.01691, allocations: 51.88 kB / 0.8836 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01692, allocations: 0 / 0.8836 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.01713, allocations: 35.95 kB / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01714, allocations: 0 / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.01729, allocations: 133.8 kB / 0.8838 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.01734, allocations: 15.91 kB / 0.8838 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/0.01743, allocations: 29.53 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01743, allocations: 0 / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01744, allocations: 0 / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01744, allocations: 0 / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.01772, allocations: 181.1 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01772, allocations: 3.938 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.01798, allocations: 43.94 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.01799, allocations: 4 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01801, allocations: 0 / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01801, allocations: 0 / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.01801, allocations: 3.938 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009745/0.01899, allocations: 359.2 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.01901, allocations: 15.84 kB / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.01904, allocations: 7.938 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.01929, allocations: 35.94 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.01938, allocations: 15.98 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.01939, allocations: 4 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001345/0.01952, allocations: 131.1 kB / 0.8846 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01952, allocations: 0 / 0.8846 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002714/0.01979, allocations: 31.95 kB / 0.8846 GB, free: 15.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.01996, allocations: 91.25 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008954/0.02085, allocations: 227.7 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02085, allocations: 0 / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.02128, allocations: 119.8 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.02166, allocations: 24.67 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.02243, allocations: 305.8 kB / 0.8853 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.02257, allocations: 114.2 kB / 0.8854 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.02267, allocations: 24.45 kB / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.02274, allocations: 16.5 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.02274, allocations: 4 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.005975/0.02871, allocations: 2.056 MB / 0.8875 GB, free: 12.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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: 8.381010041106492]