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.001105/0.001105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002618, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001253/0.001253, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.00286, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.956/0.956, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1073/1.063, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.941/1.941, allocations: 378.2 MB / 0.6076 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6221/2.563, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.967e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001352/0.001371, allocations: 0.8139 MB / 0.7301 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.002349, allocations: 0.9123 MB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.002392, allocations: 4 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.00242, allocations: 3.938 kB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.002475, allocations: 15.7 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.632e-05/0.002572, allocations: 44.48 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.002681, allocations: 87.47 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.002778, allocations: 15.98 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.002897, allocations: 68.86 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.002973, allocations: 36.44 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.003002, allocations: 8 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.003015, allocations: 8 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.00304, allocations: 16.83 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.00307, allocations: 15.94 kB / 0.7313 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003176, allocations: 59.77 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.003192, allocations: 0 / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003193, allocations: 0.6562 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.00321, allocations: 0.6875 kB / 0.7314 GB, free: 2.438 MB / 0.698 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.0004671/0.003677, allocations: 294.1 kB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.003716, allocations: 8.031 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.003753, allocations: 8.875 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.003878, allocations: 125.7 kB / 0.7318 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.003906, allocations: 8.375 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.003918, allocations: 5.375 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.004107, allocations: 87.67 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004117, allocations: 3.938 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.004129, allocations: 8 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004136, allocations: 0.875 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.004185, allocations: 16.86 kB / 0.7319 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.004527, allocations: 196.2 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.004801, allocations: 71.77 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.004833, allocations: 18.69 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.004854, allocations: 4 kB / 0.7322 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.004884, allocations: 34.55 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.004885, allocations: 0 / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001782/0.005064, allocations: 70.3 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.0051, allocations: 52.22 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.00517, allocations: 126.6 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.005184, allocations: 26.83 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.005229, allocations: 100 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.005255, allocations: 15.86 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.005296, allocations: 26.41 kB / 0.7326 GB, free: 1.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.005381, allocations: 318.8 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.0054, allocations: 4.531 kB / 0.7329 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.005419, allocations: 12.92 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.005469, allocations: 32.77 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.005472, allocations: 4.438 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.573e-05/0.005547, allocations: 63.39 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.00556, allocations: 6.031 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005564, allocations: 0 / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.005574, allocations: 0 / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.005664, allocations: 25.19 kB / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.005669, allocations: 0 / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.005705, allocations: 12 kB / 0.7331 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.00571, allocations: 1.781 kB / 0.7331 GB, free: 0.5469 MB / 0.698 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.109e-05/0.005771, allocations: 117.8 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.005787, allocations: 8 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.005811, allocations: 12.44 kB / 0.7332 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005813, allocations: 0.75 kB / 0.7332 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.005815, allocations: 4 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005818, allocations: 0.5625 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.005927, allocations: 98.48 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005929, allocations: 0 / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.005988, allocations: 29.28 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.005997, allocations: 11.89 kB / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005998, allocations: 0 / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006003, allocations: 0 / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006004, allocations: 0.8125 kB / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006006, allocations: 0 / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.006117, allocations: 156.4 kB / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.00613, allocations: 4 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.006176, allocations: 8.797 kB / 0.7335 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.006228, allocations: 23.97 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.006232, allocations: 0.625 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.00625, allocations: 25.83 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.006251, allocations: 4 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001336/0.006384, allocations: 13.2 kB / 0.7336 GB, free: 15.99 MB / 0.7136 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 7.226e-05/0.006456, allocations: 81.39 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.147e-05/0.006548, allocations: 45.34 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.006555, allocations: 1.438 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.006597, allocations: 36.77 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.006757, allocations: 19.05 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.007253, allocations: 172 kB / 0.7339 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.007294, allocations: 63.34 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.878e-05/0.007342, allocations: 10.66 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.007427, allocations: 74 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.007428, allocations: 0 / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.003573/0.011, allocations: 1.739 MB / 0.7358 GB, free: 13.79 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.183996008709073]