Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001068/0.001068, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.001436/0.001436, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.9552/0.9552, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] 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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.027e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001159/0.001179, allocations: 0.7057 MB / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.001915, allocations: 0.8548 MB / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.001951, allocations: 0 / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.001978, allocations: 7.938 kB / 0.9837 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.002037, allocations: 3.938 kB / 0.9837 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.002165, allocations: 27.91 kB / 0.9838 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.002229, allocations: 39.92 kB / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.002317, allocations: 19.91 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.002386, allocations: 23.92 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.002434, allocations: 19.97 kB / 0.9839 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.002456, allocations: 4 kB / 0.9839 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.002465, allocations: 4 kB / 0.9839 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.002484, allocations: 15.92 kB / 0.9839 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.002504, allocations: 19.98 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/0.002591, allocations: 47.84 kB / 0.984 GB, free: 328 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002593, allocations: 3.938 kB / 0.984 GB, free: 324 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002594, allocations: 0 / 0.984 GB, free: 324 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002598, allocations: 0 / 0.984 GB, free: 324 kB / 0.9323 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.0003716/0.002969, allocations: 278.2 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.003, allocations: 8.031 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.003028, allocations: 9.125 kB / 0.9842 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.101e-05/0.003119, allocations: 117.7 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.003132, allocations: 4.359 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.003142, allocations: 8.375 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.003276, allocations: 69.97 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003284, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.003295, allocations: 4 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.003299, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.00341, allocations: 51.94 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.0037, allocations: 236.4 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.00382, allocations: 66.58 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.003878, allocations: 24.88 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.003891, allocations: 0 / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.003912, allocations: 34.56 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.003912, allocations: 0 / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002427/0.004155, allocations: 109.6 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.004182, allocations: 55.39 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.715e-05/0.00424, allocations: 109.8 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.004249, allocations: 29.53 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.004288, allocations: 92.09 kB / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.004306, allocations: 11.89 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.004335, allocations: 17.7 kB / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.004405, allocations: 318.8 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.004456, allocations: 19.98 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.004501, allocations: 23.97 kB / 0.9856 GB, free: 14.49 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.004597, allocations: 60.69 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.0046, allocations: 4 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001245/0.004725, allocations: 85.59 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004737, allocations: 10.97 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.00474, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.00475, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.004822, allocations: 11.98 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004826, allocations: 0 / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.004858, allocations: 11.98 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.004862, allocations: 0 / 0.9858 GB, free: 14.3 MB / 0.948 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 5.927e-05/0.004922, allocations: 117.8 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.004934, allocations: 4.328 kB / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.004953, allocations: 11.94 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.004955, allocations: 3.984 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.004959, allocations: 0 / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.004961, allocations: 0 / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.224e-05/0.005053, allocations: 125.2 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005054, allocations: 0 / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.005087, allocations: 15.98 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005088, allocations: 0 / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.005094, allocations: 0 / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.005096, allocations: 4 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005097, allocations: 320 / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.005252, allocations: 187.4 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.005259, allocations: 0 / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.005269, allocations: 3.938 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.005316, allocations: 11.98 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.005363, allocations: 15.98 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.005367, allocations: 4 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.005398, allocations: 87.25 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005398, allocations: 0 / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001431/0.005542, allocations: 19.89 kB / 0.9863 GB, free: 13.64 MB / 0.948 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 7.202e-05/0.005614, allocations: 95.25 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.005757, allocations: 51.94 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005758, allocations: 4 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.00581, allocations: 27.98 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.005996, allocations: 11.92 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.006251, allocations: 154.4 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.006289, allocations: 67.34 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.006324, allocations: 16.48 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/0.006325, allocations: 0 / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of Templates: time 0.001444/0.007768, allocations: 0.8339 MB / 0.9876 GB, free: 12.34 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.848985048010945]