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.0007866/0.0007866, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000781/0.000781, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8769/0.8769, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.682/1.682, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.124e-06/2.124e-06, allocations: 0 / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.849e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001291/0.00132, allocations: 0.6941 MB / 0.9524 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.002109, allocations: 0.8587 MB / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.002147, allocations: 0 / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.002181, allocations: 3.938 kB / 0.9533 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.002252, allocations: 11.86 kB / 0.9533 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.002391, allocations: 23.97 kB / 0.9533 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.002465, allocations: 39.91 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.00257, allocations: 11.94 kB / 0.9533 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.002649, allocations: 39.89 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.002699, allocations: 11.98 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.002726, allocations: 8 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.002735, allocations: 4 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.002755, allocations: 15.92 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.002778, allocations: 11.98 kB / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.002877, allocations: 47.8 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00288, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002881, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002885, allocations: 3.938 kB / 0.9535 GB, free: 1.16 MB / 0.9011 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.0004235/0.003309, allocations: 282.2 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.003346, allocations: 12.03 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.003379, allocations: 8.938 kB / 0.9538 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.00348, allocations: 121.7 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.003497, allocations: 8.375 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.003507, allocations: 384 / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.003649, allocations: 66.22 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003658, allocations: 3.938 kB / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.003668, allocations: 0 / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.003673, allocations: 0 / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.003788, allocations: 51.89 kB / 0.954 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.0041, allocations: 232.5 kB / 0.9542 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.004229, allocations: 62.48 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.004288, allocations: 32.91 kB / 0.9543 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.004305, allocations: 4 kB / 0.9543 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004323, allocations: 34.5 kB / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.004324, allocations: 0 / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002632/0.004587, allocations: 105.6 kB / 0.9545 GB, free: 40 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.004629, allocations: 59.34 kB / 0.9545 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.00469, allocations: 105.8 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.004702, allocations: 25.7 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.004742, allocations: 92.09 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.004759, allocations: 11.95 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.004789, allocations: 17.72 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.004861, allocations: 314.8 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.004919, allocations: 23.97 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.004966, allocations: 31.91 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.005072, allocations: 56.81 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.005075, allocations: 3.938 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.005207, allocations: 77.61 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.00522, allocations: 8 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005225, allocations: 0 / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.005239, allocations: 4.328 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.00532, allocations: 11.98 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.005326, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.00536, allocations: 11.98 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.005368, allocations: 4 kB / 0.9553 GB, free: 15.14 MB / 0.9167 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.0001499/0.005518, allocations: 117.7 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.005536, allocations: 7.984 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.00556, allocations: 8 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005562, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.005566, allocations: 3.938 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.005569, allocations: 4 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005672, allocations: 121.3 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.005674, allocations: 3.938 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.005715, allocations: 11.98 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005717, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.005725, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005726, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.005731, allocations: 7.984 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.00591, allocations: 188 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.005922, allocations: 11.86 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.005934, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.005984, allocations: 4 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.006042, allocations: 15.97 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.006046, allocations: 4 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.006079, allocations: 87.58 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006079, allocations: 0 / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001563/0.006235, allocations: 8 kB / 0.9559 GB, free: 14.48 MB / 0.9167 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 9.582e-05/0.006331, allocations: 103.2 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.00649, allocations: 51.95 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006492, allocations: 0 / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.006548, allocations: 35.91 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.006788, allocations: 3.938 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.00709, allocations: 166.4 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.603e-05/0.007136, allocations: 67.34 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.007171, allocations: 12.5 kB / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/0.007172, allocations: 0 / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of Templates: time 0.001704/0.008876, allocations: 0.8326 MB / 0.9571 GB, free: 13.17 MB / 0.9167 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: 6.248186734504998]