Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001437/0.001437, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001709/0.001709, allocations: 190.3 kB / 22.22 MB, free: 5.105 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.546/1.546, 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.368/3.368, allocations: 496 MB / 0.7835 GB, free: 33.63 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.77 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4358, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002498/0.4383, allocations: 0.7983 MB / 1.308 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.4396, allocations: 0.8662 MB / 1.309 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.4397, allocations: 4 kB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.4397, allocations: 3.938 kB / 1.309 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.4398, allocations: 7.875 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.44, allocations: 43.94 kB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.4402, allocations: 87.77 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4403, allocations: 15.98 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.4404, allocations: 39.91 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.4405, allocations: 51.77 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.4405, allocations: 8 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.4405, allocations: 12 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.4405, allocations: 19.97 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.4406, allocations: 39.78 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.4407, allocations: 91.55 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4407, allocations: 0 / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4407, allocations: 0 / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4408, allocations: 0 / 1.309 GB, free: 15.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007691/0.4415, allocations: 318 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4416, allocations: 12.92 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.4416, allocations: 8.891 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.4418, allocations: 122.4 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4418, allocations: 4.375 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.4418, allocations: 4.375 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.4421, allocations: 112 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4421, allocations: 0 / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4422, allocations: 0 / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4422, allocations: 4 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.4425, allocations: 103.9 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.4431, allocations: 311.7 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.4437, allocations: 122.5 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.4439, allocations: 56.81 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.4439, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.444, allocations: 34.56 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.444, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.000676/0.4446, allocations: 189.4 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.4447, allocations: 55.41 kB / 1.311 GB, free: 14.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4448, allocations: 117.8 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4448, allocations: 29.7 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.4449, allocations: 104 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.445, allocations: 23.8 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.445, allocations: 25.7 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4452, allocations: 314.8 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4454, allocations: 47.95 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4455, allocations: 43.95 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.4459, allocations: 96.78 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4459, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000414/0.4463, allocations: 137.5 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4463, allocations: 8 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4463, allocations: 4 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4463, allocations: 3.984 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4465, allocations: 23.97 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4465, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4466, allocations: 19.92 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4466, allocations: 3.984 kB / 1.312 GB, free: 13.07 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001122/0.4467, allocations: 118.6 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.4468, allocations: 11.95 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.4468, allocations: 8.375 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4468, allocations: 4 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4468, allocations: 3.938 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4468, allocations: 3.938 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.447, allocations: 168.7 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.447, allocations: 4 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.4472, allocations: 23.97 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4472, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4472, allocations: 8 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4472, allocations: 0.5469 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4472, allocations: 0 / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.4477, allocations: 235.3 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.4477, allocations: 16 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4477, allocations: 4 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4479, allocations: 15.98 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.448, allocations: 31.78 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.448, allocations: 11.94 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.4481, allocations: 91.7 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4481, allocations: 0 / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002465/0.4483, allocations: 12 kB / 1.312 GB, free: 12.24 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001265/0.4484, allocations: 103.2 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.4489, allocations: 107.9 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4489, allocations: 0 / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.4491, allocations: 63.89 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.4495, allocations: 16.31 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.45, allocations: 162.1 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.4505, allocations: 0.6962 MB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.233e-05/0.4506, allocations: 15.73 kB / 1.314 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.4506, allocations: 15.44 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.4506, allocations: 0 / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of Templates: time 0.005244/0.4559, allocations: 1.622 MB / 1.315 GB, free: 9.398 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.523084186948836]