Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001727/0.001727, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001937/0.001937, allocations: 186 kB / 20.78 MB, free: 1.547 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.56/1.56, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 496.1 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 71.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.16, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002067/1.162, allocations: 0.7872 MB / 1.306 GB, free: 32.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001001/1.163, allocations: 0.8689 MB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/1.163, allocations: 0 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/1.163, allocations: 7.219 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/1.164, allocations: 10.78 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/1.164, allocations: 43.17 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/1.164, allocations: 90.34 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/1.164, allocations: 20.52 kB / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/1.164, allocations: 37.05 kB / 1.307 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/1.164, allocations: 43.78 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/1.164, allocations: 7.844 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/1.164, allocations: 7.75 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/1.164, allocations: 29.5 kB / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/1.164, allocations: 34.89 kB / 1.307 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/1.165, allocations: 85.67 kB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.165, allocations: 7.062 kB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/1.165, allocations: 0 / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.165, allocations: 0 / 1.307 GB, free: 32.1 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.0006438/1.165, allocations: 398.3 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.165, allocations: 8.094 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/1.165, allocations: 7.953 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.165, allocations: 177.7 kB / 1.308 GB, free: 31.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/1.165, allocations: 15.16 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/1.165, allocations: 3.188 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/1.166, allocations: 103.8 kB / 1.308 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.166, allocations: 0 / 1.308 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.166, allocations: 4 kB / 1.308 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.166, allocations: 2.969 kB / 1.308 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/1.166, allocations: 96.3 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/1.167, allocations: 350.2 kB / 1.309 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/1.167, allocations: 112.4 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/1.167, allocations: 59.64 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/1.167, allocations: 0 / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/1.167, allocations: 36.84 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/1.167, allocations: 0 / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006048/1.168, allocations: 193.3 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/1.168, allocations: 55.34 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/1.168, allocations: 126.6 kB / 1.309 GB, free: 30.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/1.168, allocations: 32.8 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/1.168, allocations: 94.34 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/1.168, allocations: 22.38 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/1.168, allocations: 22.95 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/1.168, allocations: 321.8 kB / 1.31 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/1.168, allocations: 44.12 kB / 1.31 GB, free: 30.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/1.169, allocations: 47.75 kB / 1.31 GB, free: 30.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/1.169, allocations: 101.5 kB / 1.31 GB, free: 30.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.169, allocations: 0 / 1.31 GB, free: 30.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003369/1.169, allocations: 134.9 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.169, allocations: 5.719 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.169, allocations: 0 / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.169, allocations: 0 / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/1.169, allocations: 27.61 kB / 1.31 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.169, allocations: 0 / 1.31 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/1.17, allocations: 26.98 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.17, allocations: 2.531 kB / 1.31 GB, free: 30.14 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 6.466e-05/1.17, allocations: 116.6 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/1.17, allocations: 10.59 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/1.17, allocations: 11.31 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.17, allocations: 0 / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.17, allocations: 4 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.17, allocations: 3.938 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/1.17, allocations: 192.5 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.17, allocations: 3.422 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/1.17, allocations: 24.03 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.17, allocations: 0 / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.17, allocations: 10.78 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.17, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.17, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/1.17, allocations: 244.6 kB / 1.311 GB, free: 29.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/1.17, allocations: 83.84 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/1.17, allocations: 0 / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.171, allocations: 16.23 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/1.171, allocations: 28.47 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/1.171, allocations: 10.36 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.53e-05/1.171, allocations: 91.92 kB / 1.311 GB, free: 29.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.171, allocations: 0 / 1.311 GB, free: 29.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002223/1.171, allocations: 17.09 kB / 1.311 GB, free: 29.41 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.0001143/1.171, allocations: 96.5 kB / 1.311 GB, free: 29.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003869/1.171, allocations: 105 kB / 1.311 GB, free: 29.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.171, allocations: 3.938 kB / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/1.172, allocations: 60.78 kB / 1.311 GB, free: 29.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/1.172, allocations: 13.61 kB / 1.311 GB, free: 29.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/1.172, allocations: 195 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/1.172, allocations: 0.6981 MB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.118e-05/1.173, allocations: 12.53 kB / 1.312 GB, free: 28.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/1.173, allocations: 19.45 kB / 1.312 GB, free: 28.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/1.173, allocations: 0 / 1.312 GB, free: 28.41 MB / 1.061 GB Notification: Performance of Templates: time 0.00401/1.177, allocations: 1.611 MB / 1.314 GB, free: 28.3 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.916161589324474]