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.001766/0.001766, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002204/0.002204, allocations: 209.2 kB / 23 MB, free: 4.93 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.777 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 3.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.002084/0.002084, allocations: 66.03 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3898, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00247/0.3923, allocations: 0.7584 MB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3936, allocations: 0.8899 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.3937, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.3937, allocations: 11.86 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.388e-05/0.3938, allocations: 15.88 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.394, allocations: 39.94 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.3941, allocations: 83.77 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3942, allocations: 19.98 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.3943, allocations: 39.84 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.3944, allocations: 51.83 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3944, allocations: 8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.3945, allocations: 8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.3945, allocations: 19.91 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.3945, allocations: 31.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3947, allocations: 87.66 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3947, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3947, allocations: 3.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3947, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 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.0006869/0.3954, allocations: 326 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3954, allocations: 8.031 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.3955, allocations: 8.891 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3956, allocations: 118.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3956, allocations: 4.375 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3957, allocations: 8.375 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.396, allocations: 120.6 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.396, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.396, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.396, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.3964, allocations: 99.84 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.397, allocations: 268.4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.3976, allocations: 114.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.3978, allocations: 60.81 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3978, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3979, allocations: 34.56 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3979, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006667/0.3985, allocations: 181.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3986, allocations: 63.33 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3987, allocations: 121.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3987, allocations: 29.7 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.3988, allocations: 92.09 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.3988, allocations: 19.83 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3988, allocations: 25.66 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.399, allocations: 322.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.3992, allocations: 43.95 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3993, allocations: 51.95 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.3997, allocations: 92.77 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3997, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004086/0.4001, allocations: 141.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4001, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4001, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4001, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.4003, allocations: 23.97 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4003, allocations: 3.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.4004, allocations: 23.92 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4004, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 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.0001096/0.4006, allocations: 121.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4006, allocations: 8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.4006, allocations: 8.375 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4006, allocations: 3.984 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4006, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.4006, allocations: 7.953 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4007, allocations: 7.938 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4008, allocations: 11.98 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.4009, allocations: 23.95 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005494/0.4014, allocations: 233.3 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000512/0.402, allocations: 314.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002017/0.4022, allocations: 67.86 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.061e-05/0.4022, allocations: 91.72 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of Backend: time 2.2e-07/0.4022, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.4028, allocations: 138.5 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006603/0.4034, allocations: 0.5923 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of Templates: time 0.005087/0.4085, allocations: 1.981 MB / 1.335 GB, free: 8.73 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.379051710006024]