Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.002003/0.002003, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002104/0.002104, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.67/1.67, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.925/2.925, allocations: 359 MB / 0.6048 GB, free: 10.94 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.352e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002207/0.00224, allocations: 0.7594 MB / 0.7871 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.003787, allocations: 0.8951 MB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.003851, allocations: 0 / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.003886, allocations: 9.344 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.00399, allocations: 11.86 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.004181, allocations: 39.89 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.004327, allocations: 93.12 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004447, allocations: 15.98 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.004574, allocations: 51.89 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.004654, allocations: 33.42 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.004687, allocations: 8 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.00471, allocations: 8 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.004757, allocations: 23.91 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.004812, allocations: 27.12 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.005019, allocations: 99.64 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.005029, allocations: 4 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.005031, allocations: 0 / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.005038, allocations: 0 / 0.7884 GB, free: 10.7 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.0008687/0.005907, allocations: 408 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.005967, allocations: 12.03 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.006046, allocations: 8.891 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.006259, allocations: 125.5 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.006282, allocations: 4.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.006299, allocations: 4.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.00659, allocations: 98.77 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.006602, allocations: 5.25 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.006617, allocations: 0 / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.006624, allocations: 4 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.006902, allocations: 74.45 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.007526, allocations: 339.5 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.008099, allocations: 112.6 kB / 0.7896 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.008253, allocations: 51.66 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.008276, allocations: 1.531 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.008315, allocations: 41.33 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.008316, allocations: 0 / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005568/0.008873, allocations: 151.1 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.008922, allocations: 51.41 kB / 0.7898 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.009111, allocations: 189.9 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.009134, allocations: 26.2 kB / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.00925, allocations: 140.9 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.00929, allocations: 27.78 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.009358, allocations: 31.36 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003029/0.009661, allocations: 0.4922 MB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.009793, allocations: 35.95 kB / 0.7908 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.009908, allocations: 32.52 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.01015, allocations: 93.25 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.01016, allocations: 4 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003092/0.01047, allocations: 111.1 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01048, allocations: 4 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01049, allocations: 0.625 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.01051, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01066, allocations: 24.91 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01066, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.01074, allocations: 4.719 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.01076, allocations: 11.94 kB / 0.791 GB, free: 7.832 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,sub.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.0001393/0.0109, allocations: 169.1 kB / 0.7912 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.01093, allocations: 9.047 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.01097, allocations: 8.438 kB / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01097, allocations: 3.938 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01098, allocations: 0.8438 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.01098, allocations: 4 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.01122, allocations: 153 kB / 0.7914 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.01122, allocations: 0.8438 kB / 0.7914 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.01135, allocations: 19.98 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01135, allocations: 2.094 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01136, allocations: 3.984 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01137, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01137, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.01181, allocations: 268.3 kB / 0.7916 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.01183, allocations: 8.062 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01185, allocations: 6.562 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.01196, allocations: 8 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.01205, allocations: 19.97 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.01206, allocations: 7.984 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.01216, allocations: 139.6 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01216, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002346/0.0124, allocations: 21.66 kB / 0.7918 GB, free: 6.945 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 (sub.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.0001488/0.01255, allocations: 91.25 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.01288, allocations: 96.08 kB / 0.792 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01288, allocations: 0.5625 kB / 0.792 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.01305, allocations: 65.33 kB / 0.7921 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01334, allocations: 19.94 kB / 0.7921 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.01385, allocations: 186.7 kB / 0.7923 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.01394, allocations: 78.73 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.226e-05/0.01402, allocations: 18.39 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.0141, allocations: 28.42 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.0141, allocations: 0 / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.005394/0.01949, allocations: 1.71 MB / 0.7941 GB, free: 4.637 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.24963482201565]