Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.0008138/0.0008138, 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.0007764/0.0007764, 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.8626/0.8626, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.75/1.75, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.532e-05, allocations: 10.16 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001317/0.001343, allocations: 0.8195 MB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.00224, allocations: 0.9257 MB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.002332, allocations: 7.875 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.002454, allocations: 19.86 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.002488, allocations: 11.86 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.002696, allocations: 43.89 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.00281, allocations: 99.7 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.002936, allocations: 31.97 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.003097, allocations: 71.69 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.003156, allocations: 27.91 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003174, allocations: 8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.003216, allocations: 16 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.003232, allocations: 19.91 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.003261, allocations: 23.92 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003408, allocations: 99.69 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.00341, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003411, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003415, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004353/0.00385, allocations: 341.9 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.003886, allocations: 8.75 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.003999, allocations: 28.83 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.004179, allocations: 143.2 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.00419, allocations: 8.375 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.004202, allocations: 4.375 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.00436, allocations: 92.95 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.004366, allocations: 192 / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.004379, allocations: 4.375 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004385, allocations: 12.36 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.004513, allocations: 67.88 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.004865, allocations: 280.3 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.005004, allocations: 62.53 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.005064, allocations: 40.86 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.00508, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.0051, allocations: 38.56 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005101, allocations: 0 / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002706/0.005371, allocations: 113.6 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.0054, allocations: 55.41 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.005471, allocations: 143.5 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.005483, allocations: 25.7 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.005531, allocations: 104 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.005548, allocations: 15.91 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.005578, allocations: 17.72 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002464/0.005825, allocations: 322.8 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.005888, allocations: 39.84 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.504e-05/0.005943, allocations: 31.97 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.006051, allocations: 56.81 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.006053, allocations: 0 / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.006191, allocations: 97.59 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006203, allocations: 4 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006207, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006219, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.006282, allocations: 15.98 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.006289, allocations: 7.938 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.006337, allocations: 15.97 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006344, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 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 (5): * Single equations (assignments): 5 * 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 6.195e-05/0.006406, allocations: 117.8 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.006421, allocations: 7.953 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.006446, allocations: 12.53 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006447, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006452, allocations: 4 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006455, allocations: 4 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.006557, allocations: 137.2 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006558, allocations: 0 / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.006589, allocations: 11.98 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.006591, allocations: 0 / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.006599, allocations: 3.984 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.0066, allocations: 0 / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006601, allocations: 0 / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.006766, allocations: 199.3 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.006775, allocations: 3.953 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.006789, allocations: 4 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.006848, allocations: 15.97 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.006891, allocations: 11.98 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006895, allocations: 3.938 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.006936, allocations: 103.2 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006936, allocations: 0 / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001416/0.007077, allocations: 12 kB / 1.006 GB, free: 7.672 MB / 0.9636 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 (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 6.995e-05/0.007147, allocations: 99.48 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.00731, allocations: 67.92 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007312, allocations: 0 / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.00737, allocations: 39.91 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.00756, allocations: 17.95 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.007848, allocations: 210.8 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.007897, allocations: 77.56 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.007937, allocations: 16.5 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of SimCode: time 3.9e-07/0.007937, allocations: 0 / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of Templates: time 0.001823/0.00976, allocations: 1.151 MB / 1.008 GB, free: 5.949 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.354245753958821]