Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008283/0.0008283, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008891/0.0008891, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8522/0.8522, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.709/1.709, allocations: 389 MB / 0.633 GB, free: 12.68 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/2.028e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001381/0.001401, allocations: 0.8025 MB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.002229, allocations: 0.8985 MB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.00232, allocations: 7.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.002449, allocations: 11.81 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.082e-05/0.00248, allocations: 23.8 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.002669, allocations: 39.83 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.002769, allocations: 71.78 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.002873, allocations: 15.98 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.003001, allocations: 51.89 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.003057, allocations: 15.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.003076, allocations: 8 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.763e-05/0.003113, allocations: 11.98 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.003129, allocations: 15.92 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.003151, allocations: 19.94 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.003307, allocations: 87.66 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.00331, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.61e-07/0.003311, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.003316, allocations: 3.938 kB / 1.002 GB, free: 11.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003894/0.003706, allocations: 314 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.003743, allocations: 8.75 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.003772, allocations: 38.75 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.736e-05/0.003869, allocations: 20.88 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.00405, allocations: 141.6 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.004059, allocations: 4.375 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.004067, allocations: 384 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.004173, allocations: 66.17 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004179, allocations: 4.188 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004188, allocations: 384 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.004199, allocations: 4.125 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.004265, allocations: 31.98 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.004583, allocations: 291.7 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.136e-05/0.004674, allocations: 38.56 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.004706, allocations: 21 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.00472, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.004738, allocations: 34.56 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.004739, allocations: 0 / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001709/0.00491, allocations: 81.66 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.004936, allocations: 51.41 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.005011, allocations: 139.5 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.005021, allocations: 25.7 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.005065, allocations: 104 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.005077, allocations: 3.953 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.005106, allocations: 25.7 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.005184, allocations: 318.8 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.005216, allocations: 15.98 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.005242, allocations: 19.98 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.005292, allocations: 32.84 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005294, allocations: 0 / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.422e-05/0.005368, allocations: 65.91 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.00538, allocations: 8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.005385, allocations: 3.984 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005396, allocations: 3.984 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.286e-05/0.005439, allocations: 8 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005443, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.005476, allocations: 11.98 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005483, allocations: 4 kB / 1.004 GB, free: 9.234 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 (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.639e-05/0.005539, allocations: 117.8 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.005552, allocations: 3.953 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.005572, allocations: 16.33 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.005574, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005578, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.00558, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.00569, allocations: 152.7 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005691, allocations: 0 / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.005706, allocations: 11.94 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.005707, allocations: 0 / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.005713, allocations: 3.938 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005714, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005716, allocations: 3.984 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.00581, allocations: 155.4 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.005823, allocations: 15.88 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.005835, allocations: 0 / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.005881, allocations: 15.98 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.005921, allocations: 11.98 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005923, allocations: 0 / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.005964, allocations: 101 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.005964, allocations: 4 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001469/0.006111, allocations: 4 kB / 1.004 GB, free: 8.555 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 (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.0002675/0.006379, allocations: 0.6967 MB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.006467, allocations: 31.98 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006469, allocations: 0 / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.006498, allocations: 23.92 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.006681, allocations: 19.58 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.007579, allocations: 1.38 MB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.007623, allocations: 71.33 kB / 1.006 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.007653, allocations: 16.02 kB / 1.006 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.007697, allocations: 20.5 kB / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.007698, allocations: 0 / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.02155, allocations: 2.72 MB / 1.009 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.419/6.441, allocations: 6.281 kB / 1.009 GB, free: 3.59 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.364518333226442]