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.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.001341/0.001341, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001457/0.001457, allocations: 199.6 kB / 22.17 MB, free: 5.211 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.438/1.438, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 63.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.8678, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002198/0.87, allocations: 0.7697 MB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.8712, allocations: 0.8662 MB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.8712, allocations: 4 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.8713, allocations: 11.81 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.8714, allocations: 15.92 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.8715, allocations: 39.89 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.8717, allocations: 75.89 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.8718, allocations: 23.97 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.8719, allocations: 47.78 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.872, allocations: 47.81 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.872, allocations: 8 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.872, allocations: 8 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.8721, allocations: 15.92 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.8721, allocations: 35.8 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.8723, allocations: 94.33 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8723, allocations: 3.938 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8723, allocations: 0 / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8723, allocations: 0 / 1.276 GB, free: 2.445 MB / 0.9669 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.000763/0.8731, allocations: 395.1 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8731, allocations: 12.03 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.8731, allocations: 8.891 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.8733, allocations: 184.2 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.8734, allocations: 8.375 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.8734, allocations: 8.375 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.8737, allocations: 101.5 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8737, allocations: 0 / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8738, allocations: 4 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.8738, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.8742, allocations: 99.91 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.8748, allocations: 336.6 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.8755, allocations: 130.5 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.8757, allocations: 48.81 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.8757, allocations: 11.98 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.8758, allocations: 30.56 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.8758, allocations: 0 / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000772/0.8765, allocations: 185.5 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.8766, allocations: 51.41 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.8767, allocations: 129.7 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.8767, allocations: 25.7 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.8768, allocations: 100 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.8768, allocations: 11.86 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.8769, allocations: 29.7 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.877, allocations: 322.8 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.8772, allocations: 44.11 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.8775, allocations: 51.95 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.8779, allocations: 109 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8779, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004694/0.8783, allocations: 133.6 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8783, allocations: 4 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8783, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8784, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.8786, allocations: 31.91 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8786, allocations: 0 / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.8787, allocations: 19.91 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8787, allocations: 4 kB / 1.279 GB, free: 15.64 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 0.0001086/0.8788, allocations: 118.4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.8788, allocations: 3.953 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.8789, allocations: 16.31 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8789, allocations: 4 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8789, allocations: 7.922 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8789, allocations: 7.922 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.8791, allocations: 197.6 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8791, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.8793, allocations: 23.97 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8793, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8793, allocations: 3.984 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8793, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8793, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.8799, allocations: 247.3 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.8799, allocations: 85.06 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.8799, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.8801, allocations: 11.98 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.8802, allocations: 31.91 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.8802, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.8803, allocations: 99.27 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8803, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000254/0.8805, allocations: 12 kB / 1.279 GB, free: 14.69 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.0001434/0.8807, allocations: 95.25 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.8812, allocations: 111.8 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8812, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.8814, allocations: 59.95 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.8818, allocations: 11.98 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.8823, allocations: 190.1 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.8826, allocations: 0.6962 MB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.8827, allocations: 11.98 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.8828, allocations: 19.44 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8828, allocations: 0 / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of Templates: time 0.004725/0.8875, allocations: 1.604 MB / 1.282 GB, free: 11.85 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 -s gbode -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_2/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: 8.857711130287498]