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.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.001822/0.001822, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002424/0.002424, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.906/2.906, allocations: 0.49 GB / 0.7923 GB, free: 1.449 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002128/0.002128, allocations: 71.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9867/0.9888, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002826/0.9916, allocations: 0.7789 MB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.9928, allocations: 0.8989 MB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.9929, allocations: 0 / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.9929, allocations: 3.938 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.993, allocations: 14.44 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.9932, allocations: 46.39 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.9934, allocations: 83.84 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.9935, allocations: 23.59 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.9936, allocations: 35.58 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.9937, allocations: 46.08 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.9938, allocations: 8.125 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.9938, allocations: 11.88 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.9938, allocations: 21.08 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.9939, allocations: 38.77 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.9941, allocations: 85.53 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.9941, allocations: 3.047 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9941, allocations: 4 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.9941, allocations: 0 / 1.324 GB, free: 23.69 MB / 1.061 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.0007609/0.9948, allocations: 400.3 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.9949, allocations: 15.14 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.9949, allocations: 7.766 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.9951, allocations: 181.3 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.9951, allocations: 2.906 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.9951, allocations: 10.94 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.9955, allocations: 107.1 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.9955, allocations: 3.984 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.9955, allocations: 0 / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9955, allocations: 2.75 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.9959, allocations: 101.5 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.9965, allocations: 342.6 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.9972, allocations: 117.2 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.9974, allocations: 56.62 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.9974, allocations: 6.719 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.9974, allocations: 34.5 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9974, allocations: 0 / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007168/0.9982, allocations: 185.1 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.9982, allocations: 54.47 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.9983, allocations: 123.9 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.9983, allocations: 25.7 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.9984, allocations: 106.3 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.9984, allocations: 14.83 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.9985, allocations: 23.72 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9986, allocations: 325.1 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.9988, allocations: 43.59 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.999, allocations: 42.38 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.9993, allocations: 105.8 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.9993, allocations: 0 / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004066/0.9997, allocations: 130.9 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9998, allocations: 9.781 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9998, allocations: 3.938 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9998, allocations: 2.875 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/1, allocations: 20.66 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1, allocations: 4 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/1, allocations: 31.12 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/1, allocations: 6.75 kB / 1.327 GB, free: 21.72 MB / 1.061 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 7.614e-05/1, allocations: 116.6 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/1, allocations: 2.812 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/1, allocations: 14.56 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1, allocations: 0 / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1, allocations: 0 / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1, allocations: 3.938 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/1, allocations: 207.9 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1, allocations: 0 / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/1.001, allocations: 23.78 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.001, allocations: 0 / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.001, allocations: 2.875 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.001, allocations: 3.375 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.001, allocations: 0 / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/1.001, allocations: 242.9 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/1.001, allocations: 77.11 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/1.001, allocations: 2.812 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/1.001, allocations: 11.78 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/1.001, allocations: 26.81 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/1.001, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.178e-05/1.001, allocations: 104.6 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.001, allocations: 0 / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002297/1.002, allocations: 17.11 kB / 1.327 GB, free: 21 MB / 1.061 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.0001162/1.002, allocations: 95 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004591/1.002, allocations: 108.1 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.002, allocations: 4.75 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.002, allocations: 53.41 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/1.003, allocations: 18.08 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/1.003, allocations: 201.9 kB / 1.328 GB, free: 20.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/1.003, allocations: 0.6931 MB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/1.003, allocations: 19.78 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.003, allocations: 0.5312 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of Templates: time 0.003598/1.007, allocations: 1.238 MB / 1.33 GB, free: 19.89 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.385013396007707]