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.002249/0.002249, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002546/0.002546, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.632/1.632, allocations: 177.1 MB / 203.9 MB, free: 5.629 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.885/2.885, allocations: 359 MB / 0.6048 GB, free: 10.96 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 1.974e-06/1.974e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.921e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001884/0.001913, allocations: 0.7027 MB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.003226, allocations: 0.8711 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.003268, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.003296, allocations: 5.125 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.003378, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.003538, allocations: 31.84 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.003631, allocations: 40.84 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.00374, allocations: 15.92 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.003852, allocations: 24.55 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.003939, allocations: 23.91 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.003966, allocations: 4.688 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.003979, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.004005, allocations: 12.89 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.00404, allocations: 11.98 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.004152, allocations: 48.5 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004154, allocations: 0 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004155, allocations: 3.438 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004159, allocations: 0 / 0.7881 GB, free: 11.02 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.0005938/0.004753, allocations: 380.2 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.004794, allocations: 11.97 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.004859, allocations: 12.89 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.005005, allocations: 108.6 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.005024, allocations: 384 / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.005038, allocations: 4.375 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.005223, allocations: 70.91 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.005236, allocations: 3.938 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.005247, allocations: 1.656 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00525, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.005406, allocations: 39.98 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.005911, allocations: 287.7 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.006103, allocations: 72.27 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.00619, allocations: 27.75 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.006211, allocations: 1.594 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.006246, allocations: 37.39 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006247, allocations: 3.938 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003609/0.006608, allocations: 91.22 kB / 0.7892 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.006652, allocations: 51.41 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.006805, allocations: 169.9 kB / 0.7895 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.006829, allocations: 29.7 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.006923, allocations: 143.3 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.006942, allocations: 7.953 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.007002, allocations: 28.03 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002558/0.007258, allocations: 496.1 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.007333, allocations: 16.53 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.007397, allocations: 16.73 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.007538, allocations: 56.53 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.007542, allocations: 3.938 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002036/0.007746, allocations: 74.16 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.00776, allocations: 5.375 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007765, allocations: 0 / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.007782, allocations: 0 / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.007897, allocations: 13.23 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007903, allocations: 320 / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.007959, allocations: 4 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.007967, allocations: 0 / 0.7903 GB, free: 8.605 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.0001336/0.0081, allocations: 169 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.008128, allocations: 4.781 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.00816, allocations: 11.98 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008162, allocations: 1.297 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.00817, allocations: 4 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008172, allocations: 0.9688 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.008362, allocations: 140.6 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.008365, allocations: 3.938 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.008442, allocations: 16.77 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008444, allocations: 0 / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008452, allocations: 2.219 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.008456, allocations: 3.984 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008457, allocations: 0 / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.008762, allocations: 219.9 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.008776, allocations: 7.891 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.008795, allocations: 11.05 kB / 0.7909 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.008873, allocations: 3.938 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.008945, allocations: 11.98 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.008953, allocations: 4 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.097e-05/0.009034, allocations: 131.2 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009034, allocations: 0 / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002094/0.009243, allocations: 8 kB / 0.791 GB, free: 7.809 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.0001651/0.009408, allocations: 100.5 kB / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.009671, allocations: 55.66 kB / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009673, allocations: 0 / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.00978, allocations: 36.23 kB / 0.7912 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01007, allocations: 24.36 kB / 0.7912 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.01055, allocations: 137.8 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.01064, allocations: 64.38 kB / 0.7914 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.039e-05/0.01069, allocations: 9.828 kB / 0.7914 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.01075, allocations: 12.5 kB / 0.7915 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.01075, allocations: 0.9375 kB / 0.7915 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.004186/0.01493, allocations: 0.9725 MB / 0.7924 GB, free: 6.379 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] 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: 8.128554422990419]