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.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.001794/0.001794, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002345/0.002345, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.435e-06/2.435e-06, allocations: 0 / 0.8776 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.25e-05, allocations: 6.094 kB / 0.8776 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00227/0.002302, allocations: 0.7484 MB / 0.8783 GB, free: 4.621 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003922, allocations: 0.8888 MB / 0.8792 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.00399, allocations: 1.969 kB / 0.8792 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.004037, allocations: 11.86 kB / 0.8792 GB, free: 3.711 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.004144, allocations: 6.234 kB / 0.8792 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.004377, allocations: 45.62 kB / 0.8793 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.004538, allocations: 83.45 kB / 0.8793 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.004683, allocations: 31.91 kB / 0.8794 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.004836, allocations: 47.91 kB / 0.8794 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.004938, allocations: 39.88 kB / 0.8795 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.004972, allocations: 8 kB / 0.8795 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.004992, allocations: 15.5 kB / 0.8795 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.00503, allocations: 23.91 kB / 0.8795 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.005081, allocations: 19.92 kB / 0.8795 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.005294, allocations: 99.69 kB / 0.8796 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005297, allocations: 0 / 0.8796 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005298, allocations: 0 / 0.8796 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.005303, allocations: 0 / 0.8796 GB, free: 3.309 MB / 0.7917 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.0008113/0.006114, allocations: 322 kB / 0.8799 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.006171, allocations: 12.97 kB / 0.8799 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.466e-05/0.006266, allocations: 8.891 kB / 0.88 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.00645, allocations: 126.7 kB / 0.8801 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.006472, allocations: 384 / 0.8801 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.006495, allocations: 8.375 kB / 0.8801 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.006871, allocations: 107.3 kB / 0.8802 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.006885, allocations: 4.906 kB / 0.8802 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.006902, allocations: 0 / 0.8802 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00691, allocations: 4 kB / 0.8802 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.007329, allocations: 96.19 kB / 0.8803 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.007922, allocations: 268.3 kB / 0.8805 GB, free: 2.289 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.00861, allocations: 118.6 kB / 0.8807 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.008828, allocations: 61.38 kB / 0.8807 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.008851, allocations: 0 / 0.8807 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.00888, allocations: 31.16 kB / 0.8807 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.008881, allocations: 0.7812 kB / 0.8807 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0007874/0.009668, allocations: 187.8 kB / 0.8809 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.00972, allocations: 55.41 kB / 0.881 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.009861, allocations: 129.8 kB / 0.8811 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.009884, allocations: 29.7 kB / 0.8811 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.009966, allocations: 96.03 kB / 0.8812 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.009996, allocations: 11.91 kB / 0.8812 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.01006, allocations: 25.7 kB / 0.8813 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.01025, allocations: 326.7 kB / 0.8816 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.01046, allocations: 43.95 kB / 0.8816 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.01065, allocations: 47.95 kB / 0.8817 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.01103, allocations: 100.8 kB / 0.8817 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01103, allocations: 0 / 0.8817 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005393/0.01157, allocations: 138 kB / 0.8819 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.01159, allocations: 4 kB / 0.8819 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01159, allocations: 4 kB / 0.8819 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.01163, allocations: 4 kB / 0.8819 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.01181, allocations: 27.91 kB / 0.8819 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01182, allocations: 4.062 kB / 0.8819 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.01195, allocations: 27.86 kB / 0.8819 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01196, allocations: 0 / 0.8819 GB, free: 0.7656 MB / 0.7917 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.000141/0.0121, allocations: 117.8 kB / 0.8821 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.01215, allocations: 8 kB / 0.8821 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.01219, allocations: 16.44 kB / 0.8821 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01219, allocations: 0 / 0.8821 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01219, allocations: 0 / 0.8821 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.0122, allocations: 7.969 kB / 0.8821 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01243, allocations: 133.2 kB / 0.8822 GB, free: 460 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01244, allocations: 3.984 kB / 0.8822 GB, free: 456 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.01261, allocations: 23.97 kB / 0.8822 GB, free: 432 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01261, allocations: 3.938 kB / 0.8822 GB, free: 428 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01263, allocations: 4 kB / 0.8823 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01263, allocations: 0 / 0.8823 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01263, allocations: 4 kB / 0.8823 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.01319, allocations: 239.3 kB / 0.8825 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.01322, allocations: 7.953 kB / 0.8825 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01324, allocations: 0 / 0.8825 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.01339, allocations: 11.98 kB / 0.8825 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.01348, allocations: 19.97 kB / 0.8825 GB, free: 124 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01349, allocations: 7.984 kB / 0.8825 GB, free: 116 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.01358, allocations: 103.3 kB / 0.8826 GB, free: 12 kB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.01358, allocations: 0 / 0.8826 GB, free: 12 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002758/0.01386, allocations: 16.14 kB / 0.8826 GB, free: 15.99 MB / 0.8073 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.0001576/0.01402, allocations: 91.25 kB / 0.8827 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.01449, allocations: 103.8 kB / 0.8828 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01449, allocations: 4 kB / 0.8828 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.01472, allocations: 63.94 kB / 0.8829 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.01511, allocations: 15.73 kB / 0.8829 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.01565, allocations: 176.9 kB / 0.8831 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.01575, allocations: 75.33 kB / 0.8831 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.01582, allocations: 15.98 kB / 0.8832 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.01591, allocations: 20.5 kB / 0.8832 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.01591, allocations: 0 / 0.8832 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.005361/0.02127, allocations: 1.722 MB / 0.8849 GB, free: 13.69 MB / 0.8073 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 800] 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: 8.406557408045046]