Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008173/0.0008173, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008316/0.0008316, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8764/0.8764, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.775e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00121/0.001228, allocations: 0.7563 MB / 0.9525 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.00203, allocations: 0.8782 MB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.00207, allocations: 0 / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.002101, allocations: 15.86 kB / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.002172, allocations: 11.88 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.002326, allocations: 43.88 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.002417, allocations: 79.83 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.002524, allocations: 23.98 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.002606, allocations: 47.89 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.00267, allocations: 43.88 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.002697, allocations: 8 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.002708, allocations: 8 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.002729, allocations: 15.92 kB / 0.9536 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.002758, allocations: 35.91 kB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.002874, allocations: 95.64 kB / 0.9538 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.002876, allocations: 0 / 0.9538 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002877, allocations: 0 / 0.9538 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002881, allocations: 4 kB / 0.9538 GB, free: 0.8867 MB / 0.9011 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.0004206/0.003301, allocations: 319.7 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.003333, allocations: 8.031 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.003365, allocations: 8.891 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.003456, allocations: 117.7 kB / 0.9542 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.003472, allocations: 8.375 kB / 0.9542 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.003486, allocations: 8.375 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.003676, allocations: 110.1 kB / 0.9543 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.003683, allocations: 7.875 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.003694, allocations: 0 / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003698, allocations: 0 / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.003897, allocations: 99.91 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.00426, allocations: 272.4 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.004613, allocations: 110.6 kB / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.004715, allocations: 56.81 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.00473, allocations: 0 / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.004752, allocations: 38.56 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.004753, allocations: 0 / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003792/0.005132, allocations: 185.3 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.005161, allocations: 59.34 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.005233, allocations: 129.8 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.005245, allocations: 25.7 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.005287, allocations: 100.6 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.005307, allocations: 15.86 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.005342, allocations: 25.7 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.005418, allocations: 326.8 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.005511, allocations: 43.95 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.005597, allocations: 47.95 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.005781, allocations: 97.25 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005782, allocations: 0 / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002185/0.006001, allocations: 145.5 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.006011, allocations: 4 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006016, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006028, allocations: 4 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.006109, allocations: 27.97 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.006114, allocations: 4 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.006165, allocations: 15.91 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.006172, allocations: 4 kB / 0.9561 GB, free: 14.34 MB / 0.9167 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 6.525e-05/0.006238, allocations: 117.8 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.006254, allocations: 7.953 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.006279, allocations: 8.438 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006281, allocations: 4 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.006285, allocations: 0 / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006288, allocations: 3.984 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006398, allocations: 137.2 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006399, allocations: 3.984 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.006463, allocations: 23.97 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.006464, allocations: 0 / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.006473, allocations: 7.938 kB / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006474, allocations: 0 / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006475, allocations: 3.938 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.006724, allocations: 243.3 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.006735, allocations: 7.938 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.006746, allocations: 0 / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.006812, allocations: 15.98 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.006869, allocations: 19.97 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.006875, allocations: 7.984 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.006911, allocations: 99.2 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006911, allocations: 4 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001539/0.007065, allocations: 12 kB / 0.9568 GB, free: 13.57 MB / 0.9167 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.844e-05/0.007133, allocations: 95.25 kB / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.007368, allocations: 99.91 kB / 0.957 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.007369, allocations: 0 / 0.957 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.007473, allocations: 67.88 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.007666, allocations: 7.938 kB / 0.957 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.007971, allocations: 199.1 kB / 0.9572 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.008017, allocations: 75.33 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.008064, allocations: 16.5 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.008064, allocations: 0 / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.001792/0.009856, allocations: 1.271 MB / 0.9585 GB, free: 11.7 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.384384403936565]