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.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.001773/0.001773, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001867/0.001867, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.51/1.51, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.765/2.765, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.745e-06/2.745e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.293e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002383/0.002416, allocations: 0.7691 MB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.004027, allocations: 0.8937 MB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.004096, allocations: 0 / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.004137, allocations: 5.156 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.004252, allocations: 15.8 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.004484, allocations: 40.52 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004645, allocations: 83.83 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.004793, allocations: 25.38 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.004939, allocations: 51.89 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.00504, allocations: 39.88 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.005075, allocations: 8.844 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.385e-05/0.005099, allocations: 8 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.005134, allocations: 19.92 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.005185, allocations: 24.47 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.00539, allocations: 96.34 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.005394, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.969e-06/0.005399, allocations: 4.891 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.005404, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.7448 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.0007658/0.00617, allocations: 310.7 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.006213, allocations: 8.594 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.00629, allocations: 20.33 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.00646, allocations: 117.7 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.006486, allocations: 8.312 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.006506, allocations: 8.375 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.006877, allocations: 102.2 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.006889, allocations: 3.938 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.006905, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006911, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.007337, allocations: 102.3 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.007982, allocations: 272.3 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.008683, allocations: 119.9 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.008903, allocations: 54.41 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.008928, allocations: 4 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.008962, allocations: 31.81 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.008963, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007682/0.009732, allocations: 187.3 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.009791, allocations: 59.39 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.009933, allocations: 118.4 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.009958, allocations: 30.58 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.01004, allocations: 100.6 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.01007, allocations: 20.67 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.01014, allocations: 25.7 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.01034, allocations: 318.8 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.01055, allocations: 45.86 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.01074, allocations: 49.47 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.01114, allocations: 105.5 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.01114, allocations: 4.719 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004944/0.01164, allocations: 142.7 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01165, allocations: 4.75 kB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01166, allocations: 0 / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.01168, allocations: 0.9688 kB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.01186, allocations: 26.22 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01187, allocations: 4 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.012, allocations: 11.92 kB / 0.7907 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01201, allocations: 4 kB / 0.7907 GB, free: 8.199 MB / 0.7448 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.0001274/0.01214, allocations: 125.7 kB / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.01219, allocations: 15.2 kB / 0.7909 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.01222, allocations: 8.438 kB / 0.7909 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01222, allocations: 4 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01223, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.01223, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01245, allocations: 133.2 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01246, allocations: 0 / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.01263, allocations: 23.97 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01263, allocations: 1.094 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01264, allocations: 0 / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.01265, allocations: 4 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.01266, allocations: 4.484 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.01322, allocations: 241.5 kB / 0.7913 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.01324, allocations: 12.06 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01326, allocations: 0 / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.01342, allocations: 12.8 kB / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.01352, allocations: 24.72 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01353, allocations: 4 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.01361, allocations: 96.2 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01361, allocations: 4 kB / 0.7914 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002586/0.01387, allocations: 8 kB / 0.7914 GB, free: 7.449 MB / 0.7448 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.0001573/0.01403, allocations: 96.47 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.01453, allocations: 113.5 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01453, allocations: 3.469 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.01476, allocations: 59.95 kB / 0.7917 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.01515, allocations: 15.92 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.01574, allocations: 177 kB / 0.7919 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.01584, allocations: 76.27 kB / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.655e-05/0.01591, allocations: 11.28 kB / 0.792 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.01599, allocations: 24.48 kB / 0.792 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.016, allocations: 0.875 kB / 0.792 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.005745/0.02174, allocations: 1.712 MB / 0.7936 GB, free: 5.152 MB / 0.7448 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.844335890957154]