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.001359/0.001359, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.0015/0.0015, allocations: 185.6 kB / 22.22 MB, free: 5.098 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.58/1.58, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002147/0.002147, allocations: 68.03 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 160.8 MB / 1.218 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002185/1.137, allocations: 0.7767 MB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00124/1.139, allocations: 0.8764 MB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/1.139, allocations: 1.219 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/1.139, allocations: 9.188 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/1.139, allocations: 5.125 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/1.139, allocations: 42.5 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/1.139, allocations: 86.2 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/1.139, allocations: 23.58 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/1.139, allocations: 44.84 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/1.14, allocations: 45.77 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/1.14, allocations: 7.188 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.281e-05/1.14, allocations: 8.688 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/1.14, allocations: 22.31 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/1.14, allocations: 38.84 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/1.14, allocations: 85.81 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.14, allocations: 0 / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/1.14, allocations: 0.9375 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.14, allocations: 0 / 1.22 GB, free: 2.27 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.0007311/1.141, allocations: 401.5 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.141, allocations: 13.09 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/1.141, allocations: 8.641 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/1.141, allocations: 176.6 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/1.141, allocations: 7.25 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/1.141, allocations: 4.781 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/1.141, allocations: 108.5 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.141, allocations: 7.938 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/1.141, allocations: 5.094 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.141, allocations: 1.156 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/1.142, allocations: 99.52 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/1.142, allocations: 342.6 kB / 1.222 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/1.143, allocations: 119.5 kB / 1.222 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/1.143, allocations: 56.03 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/1.143, allocations: 1.75 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/1.143, allocations: 34.56 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/1.143, allocations: 1.188 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006601/1.144, allocations: 183.4 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.144, allocations: 52.47 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.144, allocations: 137.7 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/1.144, allocations: 29.7 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/1.144, allocations: 95.78 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/1.144, allocations: 21.97 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/1.144, allocations: 19.81 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.144, allocations: 321 kB / 1.223 GB, free: 232 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.144, allocations: 44.11 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/1.145, allocations: 49.17 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/1.145, allocations: 100.9 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.145, allocations: 1.094 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000406/1.145, allocations: 132 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.145, allocations: 5.281 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.145, allocations: 0 / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.145, allocations: 5.125 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.146, allocations: 23.88 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/1.146, allocations: 0 / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/1.146, allocations: 23.66 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.146, allocations: 6.219 kB / 1.223 GB, free: 20 kB / 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.0001224/1.146, allocations: 120.9 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/1.146, allocations: 7.109 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/1.146, allocations: 13.58 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.146, allocations: 2 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.146, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.146, allocations: 3.938 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/1.146, allocations: 199.5 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.146, allocations: 1.094 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/1.146, allocations: 28.19 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.146, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.146, allocations: 9.141 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.146, allocations: 5.891 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.146, allocations: 7.875 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/1.147, allocations: 239.2 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/1.147, allocations: 83.28 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/1.147, allocations: 0 / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/1.147, allocations: 15.86 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/1.147, allocations: 25.38 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/1.147, allocations: 6.141 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.659e-05/1.147, allocations: 92.8 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.147, allocations: 0.75 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002429/1.147, allocations: 20.03 kB / 1.224 GB, free: 15.21 MB / 0.9356 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.0001381/1.148, allocations: 93.69 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004436/1.148, allocations: 104.8 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.148, allocations: 0 / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/1.148, allocations: 64.97 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/1.149, allocations: 9.422 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/1.149, allocations: 181.2 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/1.149, allocations: 0.6933 MB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.49e-05/1.149, allocations: 10.06 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/1.15, allocations: 18.86 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/1.15, allocations: 0 / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of Templates: time 0.005134/1.155, allocations: 1.621 MB / 1.227 GB, free: 13.34 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.767295680008829]