Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001619/0.001619, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002192/0.002192, allocations: 216.4 kB / 23.01 MB, free: 4.566 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.914/2.914, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [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.002022/0.002022, allocations: 64.3 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002118/0.3254, allocations: 0.8903 MB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3266, allocations: 0.9017 MB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3266, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3267, allocations: 19.8 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.3268, allocations: 31.78 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.327, allocations: 39.95 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3272, allocations: 143.5 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3273, allocations: 37.53 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.3274, allocations: 55.83 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.3275, allocations: 83.72 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.3276, allocations: 16 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.203e-05/0.3276, allocations: 16 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.3277, allocations: 43.84 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.3277, allocations: 67.53 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.328, allocations: 179.1 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.328, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.328, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.328, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 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.0009307/0.3289, allocations: 445.4 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3289, allocations: 8.031 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.329, allocations: 16.84 kB / 1.288 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.3292, allocations: 162.2 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3292, allocations: 4.375 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3292, allocations: 8.375 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.3298, allocations: 190 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3298, allocations: 192 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.3298, allocations: 11.86 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3298, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.3305, allocations: 219.8 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3315, allocations: 491.5 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.332, allocations: 150.4 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.3324, allocations: 112.9 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3324, allocations: 3.938 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3324, allocations: 34.56 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3324, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001207/0.3336, allocations: 369.4 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3337, allocations: 51.41 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3338, allocations: 181.4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3339, allocations: 25.7 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.334, allocations: 120 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.334, allocations: 39.69 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.334, allocations: 21.72 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3342, allocations: 322.8 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.3346, allocations: 103.9 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.3349, allocations: 108.2 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.3356, allocations: 220.6 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3356, allocations: 0 / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007665/0.3364, allocations: 257.4 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3364, allocations: 4 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3364, allocations: 0 / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3364, allocations: 0 / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.3367, allocations: 43.94 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3367, allocations: 3.938 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3369, allocations: 43.84 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3369, allocations: 4 kB / 1.291 GB, free: 4.777 MB / 0.9825 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.0001119/0.337, allocations: 125.8 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.337, allocations: 15.91 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.3371, allocations: 21.39 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3371, allocations: 4 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3371, allocations: 7.875 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3371, allocations: 4 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.3374, allocations: 216.6 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3374, allocations: 3.984 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3376, allocations: 47.89 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3376, allocations: 0 / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3377, allocations: 0 / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3377, allocations: 4 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.3377, allocations: 7.922 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.3385, allocations: 355.4 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.3385, allocations: 27.89 kB / 1.292 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3385, allocations: 0 / 1.292 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3387, allocations: 27.95 kB / 1.292 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.3388, allocations: 15.92 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3388, allocations: 8 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001144/0.3389, allocations: 131.4 kB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3389, allocations: 0 / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000249/0.3392, allocations: 31.94 kB / 1.292 GB, free: 3.668 MB / 0.9825 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.0001306/0.3393, allocations: 99.23 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007757/0.3401, allocations: 223.7 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3401, allocations: 0 / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.3405, allocations: 115.8 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3408, allocations: 26.05 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.3415, allocations: 348.9 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3418, allocations: 0.7275 MB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.3419, allocations: 11.91 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3419, allocations: 0 / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.004013/0.3459, allocations: 2.048 MB / 1.295 GB, free: 40 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.767827783012763]