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.002107/0.002107, allocations: 80.52 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.002367/0.002367, allocations: 164.9 kB / 22.46 MB, free: 5.355 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.513/1.513, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.869/2.869, allocations: 377.8 MB / 0.6221 GB, free: 12.6 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.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 5.11e-06/5.11e-06, allocations: 4 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/3.272e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002058/0.002091, allocations: 0.8177 MB / 0.9822 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003436, allocations: 0.9171 MB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.003523, allocations: 4 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.003646, allocations: 11.86 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.003796, allocations: 23.75 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.004028, allocations: 67.84 kB / 0.9832 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.004258, allocations: 127.7 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.004396, allocations: 25.23 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.004542, allocations: 79.86 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.004713, allocations: 63.84 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.004756, allocations: 12 kB / 0.9835 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.004786, allocations: 12 kB / 0.9835 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.004854, allocations: 43.77 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.004922, allocations: 39.89 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.005151, allocations: 151.5 kB / 0.9838 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005154, allocations: 4 kB / 0.9838 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005154, allocations: 4 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.005161, allocations: 0 / 0.9838 GB, free: 9.527 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008769/0.006037, allocations: 369.7 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.006078, allocations: 12.03 kB / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.006136, allocations: 12.84 kB / 0.9842 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.006383, allocations: 154.1 kB / 0.9843 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.006406, allocations: 4.375 kB / 0.9843 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.006432, allocations: 8.375 kB / 0.9843 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.006916, allocations: 153.5 kB / 0.9845 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.006929, allocations: 3.984 kB / 0.9845 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.006949, allocations: 4 kB / 0.9845 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.006954, allocations: 0 / 0.9845 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.007533, allocations: 155.8 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.008214, allocations: 336.2 kB / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.009105, allocations: 166.5 kB / 0.9851 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.009423, allocations: 84.91 kB / 0.9852 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.00945, allocations: 0 / 0.9852 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.009485, allocations: 42.56 kB / 0.9852 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.009487, allocations: 0 / 0.9852 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.001059/0.01055, allocations: 281.5 kB / 0.9855 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.0106, allocations: 51.41 kB / 0.9855 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.01075, allocations: 156 kB / 0.9857 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.01077, allocations: 25.7 kB / 0.9857 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.01086, allocations: 112 kB / 0.9858 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.0109, allocations: 27.75 kB / 0.9858 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.01097, allocations: 34.08 kB / 0.9859 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.01111, allocations: 318.8 kB / 0.9862 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.01142, allocations: 79.86 kB / 0.9863 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.0117, allocations: 79.86 kB / 0.9863 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.0123, allocations: 156.7 kB / 0.9865 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.0123, allocations: 0 / 0.9865 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006462/0.01294, allocations: 201.4 kB / 0.9867 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01296, allocations: 8 kB / 0.9867 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01297, allocations: 0 / 0.9867 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01298, allocations: 3.938 kB / 0.9867 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.01325, allocations: 39.95 kB / 0.9867 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01325, allocations: 0 / 0.9867 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.01343, allocations: 23.92 kB / 0.9867 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01345, allocations: 8 kB / 0.9868 GB, free: 6.301 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: 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 0.0001286/0.01358, allocations: 121.8 kB / 0.9869 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.01362, allocations: 11.95 kB / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.01366, allocations: 12.78 kB / 0.9869 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.01366, allocations: 11.94 kB / 0.9869 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01367, allocations: 0 / 0.9869 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01367, allocations: 3.984 kB / 0.9869 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.0139, allocations: 161.2 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.0139, allocations: 0 / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.01414, allocations: 35.95 kB / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01415, allocations: 0 / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01416, allocations: 0 / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01416, allocations: 288 / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01416, allocations: 11.94 kB / 0.9871 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.0149, allocations: 303.2 kB / 0.9874 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.01492, allocations: 11.88 kB / 0.9874 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.01494, allocations: 4 kB / 0.9874 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.01515, allocations: 19.97 kB / 0.9874 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.01527, allocations: 39.89 kB / 0.9875 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.01528, allocations: 7.938 kB / 0.9875 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.01537, allocations: 117.5 kB / 0.9876 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01537, allocations: 3.938 kB / 0.9876 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002707/0.01564, allocations: 23.95 kB / 0.9876 GB, free: 5.363 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: 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.0001387/0.01578, allocations: 103.2 kB / 0.9877 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006528/0.01643, allocations: 167.8 kB / 0.9879 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01643, allocations: 0 / 0.9879 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.01677, allocations: 95.92 kB / 0.988 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.01707, allocations: 18.56 kB / 0.988 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.01767, allocations: 249.1 kB / 0.9882 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/0.01777, allocations: 93.3 kB / 0.9883 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.01787, allocations: 16.5 kB / 0.9883 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01797, allocations: 32.47 kB / 0.9884 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.01797, allocations: 0 / 0.9884 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.006622/0.02459, allocations: 2.584 MB / 0.9909 GB, free: 2.004 MB / 0.9356 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: 8.441424038261175]