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.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.00198/0.00198, allocations: 110 kB / 18.93 MB, free: 2.945 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.002541/0.002541, allocations: 187.4 kB / 22.23 MB, free: 5.16 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002257/0.002257, allocations: 67.77 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4335, allocations: 173.6 MB / 1.307 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002397/0.4359, allocations: 0.8656 MB / 1.308 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.4372, allocations: 0.909 MB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.4373, allocations: 4 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.4374, allocations: 7.875 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.4376, allocations: 23.8 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.4378, allocations: 51.92 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.438, allocations: 127.7 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.4382, allocations: 41.02 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.4383, allocations: 55.84 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.4385, allocations: 79.72 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.4385, allocations: 12 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.4385, allocations: 12 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.4386, allocations: 39.89 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.4387, allocations: 59.59 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.4389, allocations: 139.4 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4389, allocations: 4 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4389, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.4389, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 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.0009492/0.4399, allocations: 373.7 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4399, allocations: 8.031 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.44, allocations: 16.84 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.4402, allocations: 147.8 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4402, allocations: 12.12 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4403, allocations: 4 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.4407, allocations: 153.5 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4407, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4407, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4407, allocations: 4 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.4413, allocations: 159.8 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.4421, allocations: 383.5 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.4429, allocations: 170.4 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.4432, allocations: 88.89 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.4432, allocations: 4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4433, allocations: 30.56 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4433, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0009622/0.4442, allocations: 293.3 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4443, allocations: 55.41 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.4444, allocations: 149.8 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4445, allocations: 25.7 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.4445, allocations: 116 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.4446, allocations: 27.8 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.4446, allocations: 25.7 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4448, allocations: 326.8 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.4451, allocations: 71.92 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.4453, allocations: 79.92 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.4459, allocations: 160.7 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4459, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006017/0.4465, allocations: 205.9 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4465, allocations: 8 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4465, allocations: 0 / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4465, allocations: 0 / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.4468, allocations: 39.89 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4468, allocations: 4 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.4469, allocations: 27.95 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.447, allocations: 7.922 kB / 1.313 GB, free: 12.01 MB / 1.014 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.0001436/0.4471, allocations: 125.8 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.4471, allocations: 11.89 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.4472, allocations: 20.7 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4472, allocations: 0 / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4472, allocations: 4 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4472, allocations: 4 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.4475, allocations: 204.5 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4475, allocations: 0 / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4477, allocations: 39.89 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4477, allocations: 4 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4478, allocations: 3.984 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4478, allocations: 0 / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4478, allocations: 3.938 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.4485, allocations: 299.3 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.4485, allocations: 19.81 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.4485, allocations: 3.938 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4487, allocations: 27.97 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4488, allocations: 31.95 kB / 1.313 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4488, allocations: 0 / 1.313 GB, free: 11.15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001004/0.4489, allocations: 111.2 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4489, allocations: 0 / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002635/0.4492, allocations: 27.95 kB / 1.314 GB, free: 11.02 MB / 1.014 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.0001513/0.4494, allocations: 100 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006474/0.45, allocations: 171.8 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.45, allocations: 0 / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.4503, allocations: 100.1 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.4506, allocations: 24.06 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.4513, allocations: 242 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4517, allocations: 0.7041 MB / 1.315 GB, free: 9.629 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.4518, allocations: 24.42 kB / 1.315 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.4519, allocations: 23.42 kB / 1.315 GB, free: 9.582 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.4519, allocations: 0 / 1.315 GB, free: 9.582 MB / 1.014 GB Notification: Performance of Templates: time 0.006982/0.4588, allocations: 2.477 MB / 1.317 GB, free: 7.125 MB / 1.014 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: 9.625149386003613]