Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001988/0.001988, allocations: 111.2 kB / 17.08 MB, free: 6.004 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.00221/0.00221, allocations: 193.2 kB / 20.03 MB, free: 3.074 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437.1 MB / 0.7178 GB, free: 4.484 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.028 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3163, allocations: 151.6 MB / 1.176 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002171/0.3186, allocations: 0.7662 MB / 1.177 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3198, allocations: 0.8741 MB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.3198, allocations: 0 / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.3199, allocations: 15.81 kB / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.32, allocations: 7.875 kB / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3202, allocations: 39.94 kB / 1.178 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3203, allocations: 91.77 kB / 1.178 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3204, allocations: 19.98 kB / 1.178 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.3205, allocations: 47.89 kB / 1.178 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.3206, allocations: 47.77 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.3207, allocations: 8 kB / 1.178 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.005e-05/0.3207, allocations: 8 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.3207, allocations: 15.97 kB / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.3208, allocations: 39.78 kB / 1.178 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.321, allocations: 87.61 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.321, allocations: 0 / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.427e-06/0.321, allocations: 0 / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.321, allocations: 3.938 kB / 1.178 GB, free: 3.93 MB / 0.92 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.0006908/0.3217, allocations: 399.1 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3217, allocations: 12.03 kB / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.3218, allocations: 8.891 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.322, allocations: 176.3 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.322, allocations: 8.375 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.322, allocations: 4.375 kB / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.3224, allocations: 105.5 kB / 1.179 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3224, allocations: 3.984 kB / 1.179 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3224, allocations: 4 kB / 1.179 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3224, allocations: 4 kB / 1.179 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.3228, allocations: 99.83 kB / 1.179 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3234, allocations: 344.6 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.324, allocations: 122.5 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.3242, allocations: 52.81 kB / 1.179 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3243, allocations: 8 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3243, allocations: 38.55 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3243, allocations: 0 / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007137/0.325, allocations: 181.5 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3251, allocations: 59.34 kB / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3252, allocations: 125.8 kB / 1.18 GB, free: 2.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3252, allocations: 25.7 kB / 1.18 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3253, allocations: 100 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3254, allocations: 19.78 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.3254, allocations: 25.7 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3256, allocations: 314.8 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.3258, allocations: 47.95 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.326, allocations: 43.95 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.3264, allocations: 104.7 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3264, allocations: 0 / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004706/0.3269, allocations: 146 kB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3269, allocations: 4 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3269, allocations: 0 / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.327, allocations: 0 / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3271, allocations: 23.97 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3271, allocations: 8.047 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3273, allocations: 15.92 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3273, allocations: 12 kB / 1.18 GB, free: 1.113 MB / 0.92 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.000105/0.3274, allocations: 109.8 kB / 1.181 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3274, allocations: 7.953 kB / 1.181 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.3275, allocations: 16.36 kB / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3275, allocations: 0 / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3275, allocations: 0 / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3275, allocations: 3.938 kB / 1.181 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3278, allocations: 193.6 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3278, allocations: 3.984 kB / 1.181 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3279, allocations: 27.97 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.328, allocations: 3.938 kB / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.328, allocations: 0 / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.328, allocations: 0 / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.328, allocations: 4 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.3285, allocations: 239.3 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.3286, allocations: 89 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3286, allocations: 0 / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3287, allocations: 15.92 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.3288, allocations: 27.91 kB / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3288, allocations: 0 / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.3289, allocations: 103.6 kB / 1.181 GB, free: 196 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3289, allocations: 0 / 1.181 GB, free: 196 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002281/0.3292, allocations: 16 kB / 1.181 GB, free: 180 kB / 0.92 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.0001453/0.3293, allocations: 103.2 kB / 1.181 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.3298, allocations: 107.9 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3298, allocations: 0 / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3301, allocations: 63.89 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3304, allocations: 7.984 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.3309, allocations: 191.8 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3313, allocations: 0.6924 MB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.3314, allocations: 23.36 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.3314, allocations: 4 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of Templates: time 0.003173/0.3345, allocations: 1.233 MB / 1.184 GB, free: 13.69 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.258804582990706]