Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 110.2 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7171 GB, free: 4.051 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 64.03 kB / 1.027 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8666, allocations: 151.6 MB / 1.175 GB, free: 17.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002076/0.8688, allocations: 0.828 MB / 1.176 GB, free: 17.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.8698, allocations: 0.8678 MB / 1.176 GB, free: 16.49 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.8699, allocations: 5.312 kB / 1.176 GB, free: 16.49 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.8701, allocations: 10.94 kB / 1.176 GB, free: 16.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.8701, allocations: 22.09 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.8703, allocations: 27.73 kB / 1.176 GB, free: 16.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.8705, allocations: 76.12 kB / 1.177 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.8706, allocations: 24.28 kB / 1.177 GB, free: 16.4 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.8707, allocations: 38.47 kB / 1.177 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.8708, allocations: 28.91 kB / 1.177 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.8708, allocations: 6.438 kB / 1.177 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.8708, allocations: 5.031 kB / 1.177 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.8709, allocations: 15.73 kB / 1.177 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.8709, allocations: 32.67 kB / 1.177 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.8711, allocations: 79.61 kB / 1.177 GB, free: 16.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8711, allocations: 0 / 1.177 GB, free: 16.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8711, allocations: 0 / 1.177 GB, free: 16.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8711, allocations: 0 / 1.177 GB, free: 16.29 MB / 0.92 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.0004997/0.8716, allocations: 396.6 kB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8717, allocations: 9.562 kB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.8717, allocations: 36.7 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.8717, allocations: 10.72 kB / 1.177 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.872, allocations: 202.2 kB / 1.177 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.872, allocations: 5.75 kB / 1.177 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.872, allocations: 11.81 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.8722, allocations: 71.45 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8722, allocations: 3.938 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.8722, allocations: 0 / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8722, allocations: 1.188 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.8723, allocations: 32.17 kB / 1.177 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.8728, allocations: 315.9 kB / 1.178 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.8729, allocations: 47.84 kB / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.873, allocations: 19.14 kB / 1.178 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.873, allocations: 4.547 kB / 1.178 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.8731, allocations: 32.44 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.8731, allocations: 4 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002457/0.8733, allocations: 76.17 kB / 1.178 GB, free: 15.13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.8733, allocations: 53.09 kB / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.8734, allocations: 133.5 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.8735, allocations: 30.55 kB / 1.178 GB, free: 14.92 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.8735, allocations: 99.61 kB / 1.178 GB, free: 14.83 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.8735, allocations: 5.812 kB / 1.178 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.8736, allocations: 20.17 kB / 1.178 GB, free: 14.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.8736, allocations: 326.8 kB / 1.179 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.8737, allocations: 13.58 kB / 1.179 GB, free: 14.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.8737, allocations: 19.64 kB / 1.179 GB, free: 14.47 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.8738, allocations: 26.81 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8738, allocations: 0 / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.874, allocations: 66.75 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.874, allocations: 5.594 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.874, allocations: 4 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.874, allocations: 1.281 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.8741, allocations: 5.328 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8741, allocations: 0.6094 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.8742, allocations: 17.02 kB / 1.179 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.8742, allocations: 9.891 kB / 1.179 GB, free: 14.39 MB / 0.92 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.891e-05/0.8743, allocations: 114.8 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.8743, allocations: 6.453 kB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.8743, allocations: 15.72 kB / 1.179 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8743, allocations: 1.844 kB / 1.179 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8743, allocations: 3.938 kB / 1.179 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8744, allocations: 1.125 kB / 1.179 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.8745, allocations: 186.2 kB / 1.179 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8745, allocations: 4.594 kB / 1.179 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.8746, allocations: 4.453 kB / 1.179 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8746, allocations: 1.844 kB / 1.179 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.8746, allocations: 0.7031 kB / 1.179 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8746, allocations: 1.531 kB / 1.179 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8746, allocations: 4 kB / 1.179 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.8747, allocations: 163.1 kB / 1.179 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.8748, allocations: 87.84 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.8748, allocations: 1.219 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8749, allocations: 10.59 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.875, allocations: 6.312 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.875, allocations: 6.125 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.875, allocations: 109.9 kB / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.875, allocations: 0 / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002171/0.8753, allocations: 10.97 kB / 1.179 GB, free: 13.69 MB / 0.92 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.0003517/0.8756, allocations: 0.6887 MB / 1.18 GB, free: 13.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.8758, allocations: 44.88 kB / 1.18 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8758, allocations: 1.531 kB / 1.18 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.8759, allocations: 16.05 kB / 1.18 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.8761, allocations: 9.125 kB / 1.18 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.8773, allocations: 1.387 MB / 1.182 GB, free: 11.74 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.8774, allocations: 0.6942 MB / 1.182 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.8775, allocations: 4.219 kB / 1.182 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.8775, allocations: 20.64 kB / 1.182 GB, free: 11.02 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.8775, allocations: 1.312 kB / 1.182 GB, free: 11.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.902, allocations: 1.997 MB / 1.184 GB, free: 10.61 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.866, allocations: 9.938 kB / 1.184 GB, free: 10.61 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.831493005855009]