Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001433/0.001433, allocations: 75.2 kB / 19.18 MB, free: 2.539 MB / 14.72 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.001559/0.001559, allocations: 172.8 kB / 22.46 MB, free: 5.348 MB / 14.72 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.565/1.565, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.963/2.963, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.016e-05/4.327e-05, allocations: 8.891 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001918/0.001961, allocations: 0.7962 MB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003192, allocations: 0.9054 MB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.003276, allocations: 4 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.003417, allocations: 11.86 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.003459, allocations: 19.88 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.003668, allocations: 31.84 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.003799, allocations: 75.77 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.003938, allocations: 23.92 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.00412, allocations: 51.83 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.004199, allocations: 23.91 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004222, allocations: 7.938 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.004264, allocations: 8 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.004286, allocations: 15.92 kB / 0.9834 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.004327, allocations: 23.92 kB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.004486, allocations: 79.73 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004489, allocations: 0 / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004489, allocations: 0 / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004494, allocations: 4 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006123/0.005107, allocations: 313.9 kB / 0.9838 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.005145, allocations: 8.031 kB / 0.9838 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.005303, allocations: 20.88 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.005564, allocations: 149.6 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.005578, allocations: 8.312 kB / 0.984 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.005592, allocations: 4.375 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.00575, allocations: 58.23 kB / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005759, allocations: 192 / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.005772, allocations: 4.375 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.005776, allocations: 384 / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.005896, allocations: 35.92 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.006372, allocations: 256.4 kB / 0.9844 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.00655, allocations: 42.66 kB / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.006613, allocations: 32.88 kB / 0.9844 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006629, allocations: 0 / 0.9844 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.006657, allocations: 34.56 kB / 0.9845 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006658, allocations: 0 / 0.9845 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002573/0.006916, allocations: 65.67 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.006971, allocations: 59.41 kB / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007092, allocations: 141.6 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.007113, allocations: 29.7 kB / 0.9847 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.007191, allocations: 100.1 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.007206, allocations: 3.953 kB / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.007251, allocations: 21.7 kB / 0.9849 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.007402, allocations: 314.8 kB / 0.9852 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.007458, allocations: 23.92 kB / 0.9852 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.007508, allocations: 15.98 kB / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.007615, allocations: 28.84 kB / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007616, allocations: 3.938 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001729/0.007789, allocations: 77.89 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.007804, allocations: 6.344 kB / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.00781, allocations: 3.984 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.007823, allocations: 0 / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.007889, allocations: 7.984 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007894, allocations: 3.938 kB / 0.9853 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.007974, allocations: 11.98 kB / 0.9853 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.00798, allocations: 4 kB / 0.9853 GB, free: 7.77 MB / 0.9356 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.0001079/0.008088, allocations: 113.8 kB / 0.9854 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.008121, allocations: 11.89 kB / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.008151, allocations: 8.344 kB / 0.9855 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.008157, allocations: 7.984 kB / 0.9855 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.008161, allocations: 0 / 0.9855 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.008163, allocations: 0 / 0.9855 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.008321, allocations: 117.3 kB / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.008322, allocations: 0 / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.008367, allocations: 11.92 kB / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.008369, allocations: 4 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.008376, allocations: 0 / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008377, allocations: 0 / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008378, allocations: 0 / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.008581, allocations: 159.4 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.008599, allocations: 11.89 kB / 0.9858 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.008617, allocations: 0 / 0.9858 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.008725, allocations: 11.98 kB / 0.9858 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.008777, allocations: 11.98 kB / 0.9858 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.008786, allocations: 15.92 kB / 0.9858 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.402e-05/0.00887, allocations: 99.27 kB / 0.9859 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.00887, allocations: 0 / 0.9859 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002264/0.009097, allocations: 8 kB / 0.9859 GB, free: 7.133 MB / 0.9356 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001316/0.009228, allocations: 95.78 kB / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.009386, allocations: 35.97 kB / 0.986 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009388, allocations: 0 / 0.986 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.009468, allocations: 19.94 kB / 0.986 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.009737, allocations: 19.92 kB / 0.9861 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.01013, allocations: 160.7 kB / 0.9862 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.235e-05/0.01021, allocations: 75.58 kB / 0.9863 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01025, allocations: 4 kB / 0.9863 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.01029, allocations: 12.5 kB / 0.9863 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.01029, allocations: 7.938 kB / 0.9863 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.003756/0.01404, allocations: 0.9119 MB / 0.9872 GB, free: 5.762 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.496409554034472]