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.001464/0.001464, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001677/0.001677, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7714 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 65 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002145/0.3269, allocations: 0.7877 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.3281, allocations: 0.8978 MB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3281, allocations: 0 / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.3282, allocations: 3.938 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.3282, allocations: 15.86 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3284, allocations: 39.95 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3285, allocations: 83.77 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3287, allocations: 23.92 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.3288, allocations: 39.89 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.3289, allocations: 51.77 kB / 1.287 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3289, allocations: 12 kB / 1.287 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.3289, allocations: 8 kB / 1.287 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.3289, allocations: 19.97 kB / 1.287 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.329, allocations: 39.73 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3292, allocations: 91.59 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3292, allocations: 0 / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3292, allocations: 0 / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3292, allocations: 0 / 1.287 GB, free: 9.156 MB / 0.9825 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.0006497/0.3298, allocations: 318 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3299, allocations: 12.03 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.3299, allocations: 8.891 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.33, allocations: 122.4 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3301, allocations: 8.312 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3301, allocations: 8.375 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.3304, allocations: 110.1 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.3304, allocations: 0 / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3304, allocations: 4 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3304, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.3309, allocations: 99.89 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.3315, allocations: 311.7 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.3322, allocations: 122.6 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3324, allocations: 52.81 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3324, allocations: 0 / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3324, allocations: 38.56 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3324, allocations: 0 / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006849/0.3331, allocations: 189.4 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3331, allocations: 51.41 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3333, allocations: 125.8 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3333, allocations: 29.7 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3334, allocations: 96.03 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3334, allocations: 23.83 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.3334, allocations: 17.72 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3336, allocations: 322.8 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.3338, allocations: 43.95 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.334, allocations: 47.95 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.3343, allocations: 100.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3343, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004001/0.3347, allocations: 141.5 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3347, allocations: 4 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3347, allocations: 0 / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3347, allocations: 0 / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.3349, allocations: 23.97 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3349, allocations: 0 / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.335, allocations: 23.86 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.335, allocations: 4 kB / 1.289 GB, free: 6.562 MB / 0.9825 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 9.875e-05/0.3351, allocations: 121.8 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3352, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3352, allocations: 16.38 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3352, allocations: 3.984 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3352, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3352, allocations: 3.938 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3354, allocations: 172.6 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3354, allocations: 0 / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3356, allocations: 27.97 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3356, allocations: 4 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3356, allocations: 3.984 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3356, allocations: 7.938 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3356, allocations: 0 / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3361, allocations: 243.8 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.3361, allocations: 4 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3361, allocations: 4 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3362, allocations: 7.984 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.3363, allocations: 27.91 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3363, allocations: 0 / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.3364, allocations: 103.2 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3364, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002285/0.3366, allocations: 15.95 kB / 1.29 GB, free: 5.738 MB / 0.9825 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.0001556/0.3368, allocations: 99.23 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.3372, allocations: 108 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3372, allocations: 0 / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3374, allocations: 64.02 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3377, allocations: 12 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.3382, allocations: 193.7 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3385, allocations: 0.6962 MB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.3386, allocations: 15.44 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3386, allocations: 0 / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of Templates: time 0.003096/0.3417, allocations: 1.237 MB / 1.292 GB, free: 3.266 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 10.978518549993169]