Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001468/0.001468, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001374/0.001374, allocations: 181 kB / 23.36 MB, free: 1.133 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.011/1.011, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.466/2.466, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.627e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001668/0.001684, allocations: 0.8266 MB / 0.8394 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002966, allocations: 0.9013 MB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.003034, allocations: 4 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.553e-05/0.003079, allocations: 3.938 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.003204, allocations: 11.91 kB / 0.8403 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.003415, allocations: 39.84 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.003554, allocations: 95.73 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003664, allocations: 27.98 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.003788, allocations: 51.88 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.003864, allocations: 35.89 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.003891, allocations: 8 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.003904, allocations: 8 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.003934, allocations: 23.91 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.003967, allocations: 23.97 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004086, allocations: 67.72 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004088, allocations: 4 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.773e-06/0.004089, allocations: 0 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004094, allocations: 4 kB / 0.8407 GB, free: 11.96 MB / 0.8073 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.0004151/0.004509, allocations: 280.6 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.00455, allocations: 12.56 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.004585, allocations: 12.92 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.004694, allocations: 117.7 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.004714, allocations: 4.375 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004728, allocations: 8.375 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.004888, allocations: 86.83 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.004903, allocations: 3.938 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.004912, allocations: 8 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004919, allocations: 0 / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.004961, allocations: 15.98 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.005249, allocations: 208.1 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.005477, allocations: 66.42 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.005504, allocations: 20.83 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.005519, allocations: 8 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005543, allocations: 30.56 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.005544, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001452/0.00569, allocations: 69.89 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.005718, allocations: 55.34 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.00578, allocations: 122.7 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.005793, allocations: 25.7 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005827, allocations: 92.08 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.005851, allocations: 27.78 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.005883, allocations: 21.7 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.005968, allocations: 326.8 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.005986, allocations: 4 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.006004, allocations: 11.94 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.006052, allocations: 32.81 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006055, allocations: 3.938 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.497e-05/0.00613, allocations: 61.61 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.00614, allocations: 4 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.006144, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006156, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.006224, allocations: 19.98 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006228, allocations: 3.984 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.00626, allocations: 4 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006267, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 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 5.742e-05/0.006324, allocations: 117.8 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.006349, allocations: 7.984 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.006367, allocations: 8.438 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006369, allocations: 4 kB / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.00637, allocations: 0 / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006372, allocations: 4 kB / 0.8425 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.392e-05/0.006466, allocations: 89.86 kB / 0.8426 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.006467, allocations: 0 / 0.8426 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.006518, allocations: 19.92 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.00652, allocations: 3.938 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006528, allocations: 11.98 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006529, allocations: 0 / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00653, allocations: 0 / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/0.006626, allocations: 155.5 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.006638, allocations: 15.83 kB / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-06/0.006647, allocations: 4 kB / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.006695, allocations: 7.984 kB / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.006747, allocations: 19.97 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.006755, allocations: 11.98 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.006769, allocations: 20.83 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006769, allocations: 0 / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001214/0.006891, allocations: 15.95 kB / 0.8429 GB, free: 9.516 MB / 0.8073 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 6.714e-05/0.006958, allocations: 84.3 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.007036, allocations: 36.84 kB / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.007038, allocations: 0 / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.007076, allocations: 28.78 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.007211, allocations: 17.45 kB / 0.8431 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.007456, allocations: 165 kB / 0.8432 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.007485, allocations: 63.34 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.007523, allocations: 12 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.007596, allocations: 71.34 kB / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.007597, allocations: 4 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of Templates: time 0.002897/0.01049, allocations: 1.703 MB / 0.845 GB, free: 7.289 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.212471010163426]