Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001427/0.001427, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001588/0.001588, allocations: 167.3 kB / 22.46 MB, free: 5.359 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.656/1.656, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.907/2.907, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.445e-05, allocations: 6.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001831/0.001856, allocations: 0.839 MB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003044, allocations: 0.9133 MB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.003097, allocations: 3.938 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.149e-05/0.003188, allocations: 15.8 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.003307, allocations: 27.75 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.003428, allocations: 43.92 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.003625, allocations: 135.5 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.00377, allocations: 45.5 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003877, allocations: 71.88 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.004023, allocations: 79.77 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.004055, allocations: 12 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.00408, allocations: 12 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.004146, allocations: 39.91 kB / 0.9837 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.00421, allocations: 43.78 kB / 0.9837 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.004435, allocations: 183.4 kB / 0.9839 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004437, allocations: 0 / 0.9839 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004438, allocations: 0 / 0.9839 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.004441, allocations: 4 kB / 0.9839 GB, free: 9.434 MB / 0.9356 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.0009025/0.005344, allocations: 437.4 kB / 0.9843 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005379, allocations: 16.02 kB / 0.9843 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.005424, allocations: 20.8 kB / 0.9844 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.005624, allocations: 165.3 kB / 0.9845 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.005637, allocations: 8.375 kB / 0.9845 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.005663, allocations: 12.38 kB / 0.9845 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.006242, allocations: 172.2 kB / 0.9847 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.006249, allocations: 192 / 0.9847 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.006268, allocations: 8.375 kB / 0.9847 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.006272, allocations: 384 / 0.9847 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008259/0.007098, allocations: 227.6 kB / 0.9849 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/0.008085, allocations: 432.1 kB / 0.9853 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.008573, allocations: 142.5 kB / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.008996, allocations: 116.7 kB / 0.9856 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.009013, allocations: 0 / 0.9856 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.009047, allocations: 42.55 kB / 0.9856 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.009048, allocations: 4 kB / 0.9856 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001378/0.01043, allocations: 361.6 kB / 0.986 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.01047, allocations: 55.41 kB / 0.986 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01064, allocations: 180.3 kB / 0.9862 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.01067, allocations: 33.69 kB / 0.9862 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.01076, allocations: 124 kB / 0.9863 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.01079, allocations: 31.69 kB / 0.9864 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.01086, allocations: 25.7 kB / 0.9864 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.01101, allocations: 326.8 kB / 0.9867 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.01141, allocations: 103.9 kB / 0.9868 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.01181, allocations: 108.2 kB / 0.9869 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.01259, allocations: 212.6 kB / 0.9871 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01259, allocations: 0 / 0.9871 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008686/0.01346, allocations: 261.3 kB / 0.9874 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01347, allocations: 8 kB / 0.9874 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.01348, allocations: 0 / 0.9874 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.01349, allocations: 4 kB / 0.9874 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.0138, allocations: 47.88 kB / 0.9874 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.01381, allocations: 0 / 0.9874 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.01402, allocations: 35.95 kB / 0.9875 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01403, allocations: 0 / 0.9875 GB, free: 5.617 MB / 0.9356 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.0001333/0.01416, allocations: 133.8 kB / 0.9876 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.0142, allocations: 15.91 kB / 0.9876 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.01425, allocations: 21.47 kB / 0.9876 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01426, allocations: 4 kB / 0.9876 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.01427, allocations: 3.984 kB / 0.9876 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.01427, allocations: 0 / 0.9876 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.01452, allocations: 185.1 kB / 0.9878 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01452, allocations: 0 / 0.9878 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.01478, allocations: 39.95 kB / 0.9878 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01478, allocations: 0 / 0.9878 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.0148, allocations: 7.984 kB / 0.9879 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0148, allocations: 0 / 0.9879 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0148, allocations: 7.938 kB / 0.9879 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/0.01574, allocations: 363.4 kB / 0.9882 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.01576, allocations: 7.953 kB / 0.9882 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.01578, allocations: 3.938 kB / 0.9882 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.01602, allocations: 31.95 kB / 0.9882 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.0161, allocations: 15.97 kB / 0.9883 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.01611, allocations: 4 kB / 0.9883 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001168/0.01622, allocations: 127.2 kB / 0.9884 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01622, allocations: 3.938 kB / 0.9884 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002571/0.01648, allocations: 35.95 kB / 0.9884 GB, free: 4.57 MB / 0.9356 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.0001494/0.01663, allocations: 91.25 kB / 0.9885 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000887/0.01752, allocations: 227.7 kB / 0.9887 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01752, allocations: 0 / 0.9887 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.01795, allocations: 111.8 kB / 0.9888 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01829, allocations: 39.86 kB / 0.9889 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.01892, allocations: 302.6 kB / 0.9892 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.01903, allocations: 110.8 kB / 0.9893 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.139e-05/0.01911, allocations: 24.95 kB / 0.9893 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.01918, allocations: 16.48 kB / 0.9893 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.01918, allocations: 0 / 0.9893 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.005492/0.02467, allocations: 2.034 MB / 0.9913 GB, free: 1.613 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.557192862033844]