Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001204/0.001204, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001217/0.001217, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.8812/0.8812, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.722/1.722, allocations: 377.8 MB / 0.6229 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.126e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001508/0.001539, allocations: 0.8185 MB / 0.983 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.002458, allocations: 0.9133 MB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.00252, allocations: 3.938 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.002634, allocations: 11.88 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.002739, allocations: 27.72 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.002916, allocations: 63.86 kB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.003059, allocations: 127.7 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.003187, allocations: 29.28 kB / 0.9842 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.003283, allocations: 75.86 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.003415, allocations: 63.84 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.003447, allocations: 12 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.003464, allocations: 12 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.003515, allocations: 39.84 kB / 0.9844 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.003558, allocations: 35.89 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.003731, allocations: 159.4 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003734, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003735, allocations: 4 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.686e-06/0.003738, allocations: 0 / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005708/0.004309, allocations: 373.7 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004344, allocations: 8.031 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.004385, allocations: 16.84 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.004537, allocations: 142.2 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004552, allocations: 8.312 kB / 0.9851 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.004569, allocations: 8.375 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.004838, allocations: 160.4 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004846, allocations: 0 / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.00486, allocations: 4 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.004865, allocations: 4 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.005161, allocations: 159.8 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.005608, allocations: 328.2 kB / 0.9857 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.006087, allocations: 170.4 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.00624, allocations: 88.95 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006258, allocations: 0 / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.006276, allocations: 38.55 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.123e-06/0.006277, allocations: 0 / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005554/0.006833, allocations: 277.5 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.006862, allocations: 51.41 kB / 0.9863 GB, free: 13.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006963, allocations: 156.8 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.006977, allocations: 29.7 kB / 0.9865 GB, free: 13.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.007032, allocations: 108 kB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.00706, allocations: 31.73 kB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.007106, allocations: 29.7 kB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.007185, allocations: 322.8 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.007338, allocations: 79.92 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.007479, allocations: 75.86 kB / 0.9871 GB, free: 12.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.007769, allocations: 160.7 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.007771, allocations: 0 / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003444/0.008116, allocations: 201.9 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.00813, allocations: 4 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008135, allocations: 0 / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.00815, allocations: 7.938 kB / 0.9875 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.008274, allocations: 35.95 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00828, allocations: 4 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.008357, allocations: 23.86 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.008368, allocations: 11.98 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.238e-05/0.00845, allocations: 121.8 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.008475, allocations: 7.953 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.008505, allocations: 20.77 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.00851, allocations: 7.938 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.008515, allocations: 0 / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.008517, allocations: 0 / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.008666, allocations: 157.2 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008668, allocations: 0 / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.008779, allocations: 35.95 kB / 0.9879 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.008784, allocations: 4 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.008797, allocations: 7.984 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.0088, allocations: 0 / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.008803, allocations: 7.938 kB / 0.9879 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.009179, allocations: 299.3 kB / 0.9882 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.009193, allocations: 7.953 kB / 0.9882 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.009208, allocations: 0 / 0.9882 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.009303, allocations: 27.91 kB / 0.9882 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.009381, allocations: 39.89 kB / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.009389, allocations: 4 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.009446, allocations: 112.9 kB / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009446, allocations: 4 kB / 0.9884 GB, free: 11.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001724/0.009619, allocations: 23.89 kB / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001046/0.009723, allocations: 107.2 kB / 0.9885 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.01008, allocations: 175.9 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01008, allocations: 0 / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.01023, allocations: 83.92 kB / 0.9887 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01046, allocations: 23.92 kB / 0.9887 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.01088, allocations: 274.8 kB / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.906e-05/0.01095, allocations: 89.31 kB / 0.9891 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.01102, allocations: 28.48 kB / 0.9891 GB, free: 10.71 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.01102, allocations: 0 / 0.9891 GB, free: 10.71 MB / 0.948 GB Notification: Performance of Templates: time 0.002628/0.01365, allocations: 1.855 MB / 0.9909 GB, free: 8.867 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 6.806399263441563]