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.001419/0.001419, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001505/0.001505, allocations: 219.6 kB / 22.99 MB, free: 4.914 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.277/3.277, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.97 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002061/0.3289, allocations: 0.8386 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3301, allocations: 0.9172 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.3302, allocations: 7.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.3303, allocations: 11.86 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.3304, allocations: 23.81 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.3306, allocations: 35.94 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3307, allocations: 103.7 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3309, allocations: 27.98 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.331, allocations: 51.77 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.3311, allocations: 31.84 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3311, allocations: 8 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.3312, allocations: 12 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3312, allocations: 19.92 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.3312, allocations: 35.78 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3314, allocations: 111.5 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3314, allocations: 0 / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3314, allocations: 0 / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3314, allocations: 4 kB / 1.367 GB, free: 11.34 MB / 1.061 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.0006297/0.3321, allocations: 337.9 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3321, allocations: 8.031 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.3322, allocations: 20.88 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3325, allocations: 143.9 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3325, allocations: 12.38 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3325, allocations: 4.375 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3328, allocations: 89.2 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3328, allocations: 192 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3328, allocations: 11.94 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3328, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.3331, allocations: 71.88 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.3336, allocations: 284.2 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3339, allocations: 62.53 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.334, allocations: 36.92 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.334, allocations: 3.938 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3341, allocations: 42.5 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3341, allocations: 0 / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004934/0.3346, allocations: 117.5 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3346, allocations: 55.41 kB / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3347, allocations: 136.1 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3348, allocations: 25.7 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.3348, allocations: 104 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3349, allocations: 19.91 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.3349, allocations: 21.7 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3351, allocations: 322.8 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3352, allocations: 27.97 kB / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3353, allocations: 31.97 kB / 1.369 GB, free: 9.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3355, allocations: 52.81 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3355, allocations: 4 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002826/0.3358, allocations: 97.58 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3358, allocations: 4 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3358, allocations: 0 / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3358, allocations: 4 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3359, allocations: 7.984 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3359, allocations: 4 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.3361, allocations: 27.86 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3361, allocations: 0 / 1.369 GB, free: 9.027 MB / 1.061 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 0.0001178/0.3362, allocations: 118.9 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.3362, allocations: 11.95 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.3363, allocations: 16.33 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3363, allocations: 192 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3363, allocations: 4 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3363, allocations: 3.938 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3364, allocations: 125.3 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3364, allocations: 4 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.3365, allocations: 11.98 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3365, allocations: 3.938 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3365, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3365, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3365, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3369, allocations: 195.6 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.3369, allocations: 7.891 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3369, allocations: 15.98 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3371, allocations: 11.98 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3371, allocations: 11.97 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3371, allocations: 0 / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.3372, allocations: 103.2 kB / 1.37 GB, free: 8.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3372, allocations: 4 kB / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002383/0.3374, allocations: 15.88 kB / 1.37 GB, free: 8.309 MB / 1.061 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 0.0001415/0.3376, allocations: 99.25 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3379, allocations: 71.88 kB / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3379, allocations: 0 / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.338, allocations: 31.97 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3383, allocations: 10.03 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.3387, allocations: 218.1 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.3388, allocations: 79.19 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.3389, allocations: 15.42 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3389, allocations: 0 / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of Templates: time 0.002858/0.3417, allocations: 1.148 MB / 1.371 GB, free: 6.598 MB / 1.061 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/jenkins1/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: 11.021548978984356]