Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001469/0.001469, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001817/0.001817, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.89/2.89, 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.617e-05, allocations: 7.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00206/0.002096, allocations: 0.6984 MB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003508, allocations: 0.8626 MB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.003557, allocations: 4.781 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.003588, allocations: 3.938 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.003682, allocations: 12.48 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.003848, allocations: 20.95 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.003952, allocations: 43.91 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004059, allocations: 16.61 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.004166, allocations: 27.91 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.004232, allocations: 20.89 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.004255, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.004268, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.004296, allocations: 16.97 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.004327, allocations: 8 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004457, allocations: 51.84 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.00446, allocations: 0.7812 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004461, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.004465, allocations: 0.5938 kB / 0.7881 GB, free: 11.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006219/0.005087, allocations: 279.5 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.005132, allocations: 8.031 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.00519, allocations: 8.891 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.005354, allocations: 119.2 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.005378, allocations: 8.375 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.00539, allocations: 384 / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.005636, allocations: 67.72 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.005649, allocations: 3.938 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.005662, allocations: 0 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.005667, allocations: 0 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.005915, allocations: 55.08 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.006428, allocations: 232.4 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.006663, allocations: 62.48 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.006787, allocations: 32.91 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.006827, allocations: 9.078 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.006865, allocations: 30.56 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.006866, allocations: 3.938 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0005154/0.007382, allocations: 110.8 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.007436, allocations: 51.91 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.007872, allocations: 111.4 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.007895, allocations: 25.7 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.007978, allocations: 88.09 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.008009, allocations: 15.88 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.008056, allocations: 18.34 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.008255, allocations: 310.8 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.008374, allocations: 28.81 kB / 0.7897 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.008475, allocations: 28.5 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.008678, allocations: 50.09 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.008685, allocations: 3.938 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002815/0.008966, allocations: 90.92 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.008983, allocations: 4 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.00899, allocations: 1.656 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.009011, allocations: 4 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.009143, allocations: 11.98 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.00915, allocations: 320 / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.009232, allocations: 9.984 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.00924, allocations: 0 / 0.7899 GB, free: 9.012 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001207/0.009361, allocations: 117.8 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.0094, allocations: 7.984 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.009427, allocations: 8.625 kB / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009429, allocations: 0 / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.009435, allocations: 2.469 kB / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009437, allocations: 0 / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.009625, allocations: 121.3 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.009629, allocations: 3.938 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.009726, allocations: 15.92 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.009729, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.009737, allocations: 1.812 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.009742, allocations: 3.984 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.009746, allocations: 7.922 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.01009, allocations: 176.7 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.01011, allocations: 11.88 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01013, allocations: 4.562 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01024, allocations: 5.656 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.01031, allocations: 16.34 kB / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01032, allocations: 4 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.502e-05/0.01038, allocations: 79.28 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01038, allocations: 2.188 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002476/0.01063, allocations: 12 kB / 0.7905 GB, free: 8.375 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001548/0.01079, allocations: 107.2 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01104, allocations: 49.08 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01105, allocations: 0 / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01117, allocations: 36.75 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01149, allocations: 10.39 kB / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.01191, allocations: 133.3 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.01199, allocations: 72.12 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.01203, allocations: 3.719 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.01209, allocations: 24.48 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.01209, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.004053/0.01614, allocations: 0.9596 MB / 0.7919 GB, free: 6.969 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.941490003024228]