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.001876/0.001876, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.00193/0.00193, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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 1.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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 3.082/3.082, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 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 2.635e-06/2.635e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.957e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002362/0.002402, allocations: 0.8356 MB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003841, allocations: 0.9222 MB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.003911, allocations: 5.781 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.004046, allocations: 11.86 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.004167, allocations: 15.8 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.00438, allocations: 59.86 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.004591, allocations: 128.5 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.005001, allocations: 37.16 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.005138, allocations: 76.56 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.005333, allocations: 63.84 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.005376, allocations: 17.28 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.005405, allocations: 12 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.005476, allocations: 35.89 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.005544, allocations: 41.23 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.005786, allocations: 151.5 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.00579, allocations: 0 / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00579, allocations: 0 / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.005796, allocations: 4.688 kB / 0.8132 GB, free: 15.69 MB / 0.7761 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.0008589/0.006655, allocations: 456.6 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.006702, allocations: 12.02 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.006777, allocations: 25.5 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.007037, allocations: 146.7 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.007064, allocations: 10.53 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.00709, allocations: 8.375 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.007464, allocations: 131.4 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007474, allocations: 0 / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.007491, allocations: 0 / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.007496, allocations: 0.8125 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.007904, allocations: 112.9 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007387/0.008642, allocations: 388.1 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.009421, allocations: 152.8 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.00963, allocations: 63.84 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.009657, allocations: 4 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.009693, allocations: 33.92 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.009694, allocations: 5.312 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0007434/0.01044, allocations: 210.9 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.01049, allocations: 51.41 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.0107, allocations: 220.1 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.01073, allocations: 34.36 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01086, allocations: 154.8 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.0109, allocations: 32.45 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.01098, allocations: 43.34 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003062/0.01129, allocations: 0.4977 MB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.01147, allocations: 47.97 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.01165, allocations: 53.44 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.01202, allocations: 107.6 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01202, allocations: 1.781 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004458/0.01247, allocations: 153.5 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01248, allocations: 5.094 kB / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01249, allocations: 0 / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.01251, allocations: 7.938 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.01273, allocations: 25.47 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01274, allocations: 4 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.01286, allocations: 15.94 kB / 0.8163 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01288, allocations: 4.531 kB / 0.8163 GB, free: 12.35 MB / 0.7761 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.0001526/0.01303, allocations: 165.1 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.01308, allocations: 16.48 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.01314, allocations: 21.55 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01314, allocations: 3.938 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01315, allocations: 0.9062 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01315, allocations: 0 / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.01341, allocations: 172.5 kB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01341, allocations: 0.9062 kB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.01361, allocations: 27.95 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01362, allocations: 8.781 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.01364, allocations: 8 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.01364, allocations: 1.344 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01364, allocations: 3.938 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.0142, allocations: 304.3 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.01423, allocations: 20.47 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.01425, allocations: 0 / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.0144, allocations: 13.8 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.01454, allocations: 39.89 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01455, allocations: 4 kB / 0.817 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001254/0.01468, allocations: 157.6 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01468, allocations: 0.875 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002444/0.01492, allocations: 24 kB / 0.8172 GB, free: 11.32 MB / 0.7761 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.0001597/0.01508, allocations: 102.7 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.01556, allocations: 136.3 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01556, allocations: 0 / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.01581, allocations: 87.77 kB / 0.8175 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.01613, allocations: 21.61 kB / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.01678, allocations: 246.2 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.01689, allocations: 90.52 kB / 0.8179 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.017, allocations: 27.66 kB / 0.8179 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.0171, allocations: 28.48 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.0171, allocations: 0 / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.007199/0.0243, allocations: 2.6 MB / 0.8205 GB, free: 7.996 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] 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.306663615047]