Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 118.5 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 193.2 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 443.5 MB / 0.7293 GB, free: 14.63 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.057 GB, free: 2.062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 160.7 MB / 1.214 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002199/0.3214, allocations: 0.8569 MB / 1.215 GB, free: 172 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3226, allocations: 0.8974 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3227, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.3228, allocations: 15.88 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.3229, allocations: 23.78 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3231, allocations: 51.94 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3233, allocations: 131.7 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3235, allocations: 37.09 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3236, allocations: 63.75 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3237, allocations: 83.66 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.3238, allocations: 12 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.548e-05/0.3238, allocations: 16 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.3239, allocations: 35.91 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.3239, allocations: 59.64 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3242, allocations: 139.4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3242, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3242, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3242, allocations: 4 kB / 1.216 GB, free: 14.59 MB / 0.9669 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.0009079/0.3251, allocations: 446.8 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3251, allocations: 12.03 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.3252, allocations: 12.84 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3254, allocations: 212.7 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3254, allocations: 8.125 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3255, allocations: 12 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.3259, allocations: 143.6 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3259, allocations: 0 / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3259, allocations: 12 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3259, allocations: 0 / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.3265, allocations: 159.7 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.3272, allocations: 420.5 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.3281, allocations: 166.4 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3284, allocations: 84.95 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3285, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3285, allocations: 46.48 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.3285, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.001014/0.3295, allocations: 277.5 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3295, allocations: 51.41 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3297, allocations: 156.8 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3297, allocations: 25.7 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.3298, allocations: 108 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.3299, allocations: 27.75 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.3299, allocations: 37.69 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3301, allocations: 322.8 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.3304, allocations: 71.94 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.3306, allocations: 71.92 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.3312, allocations: 165.2 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3312, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000652/0.3319, allocations: 205.4 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3319, allocations: 4 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3319, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3319, allocations: 7.984 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3322, allocations: 35.89 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3322, allocations: 7.984 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3324, allocations: 27.86 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3324, allocations: 11.98 kB / 1.22 GB, free: 11.09 MB / 0.9669 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.0001261/0.3325, allocations: 117.8 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.3326, allocations: 11.89 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.3326, allocations: 20.7 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3326, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3326, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3326, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3329, allocations: 237.5 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3329, allocations: 3.984 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3332, allocations: 47.83 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3332, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3332, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3332, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3332, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.3339, allocations: 300 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.3339, allocations: 89 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.334, allocations: 7.938 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3342, allocations: 23.97 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3343, allocations: 35.95 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3343, allocations: 0 / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.28e-05/0.3344, allocations: 119.2 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3344, allocations: 0 / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002544/0.3346, allocations: 28.08 kB / 1.221 GB, free: 9.969 MB / 0.9669 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.0001656/0.3348, allocations: 106.1 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006666/0.3355, allocations: 171.7 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3355, allocations: 0 / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.3358, allocations: 91.86 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3361, allocations: 15.92 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.3367, allocations: 275.6 kB / 1.221 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.337, allocations: 0.7041 MB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3371, allocations: 23.42 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3371, allocations: 4 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of Templates: time 0.003676/0.3408, allocations: 1.825 MB / 1.224 GB, free: 6.715 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.368681262945756]