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.001774/0.001774, allocations: 105.3 kB / 16.45 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.002257/0.002257, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.614/2.614, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 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.001969/0.001969, allocations: 75.89 kB / 1.056 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9789, allocations: 160.7 MB / 1.213 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002291/0.9812, allocations: 0.8283 MB / 1.214 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.9824, allocations: 0.8728 MB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.9825, allocations: 2.344 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.9827, allocations: 12.91 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.9827, allocations: 14.06 kB / 1.215 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.9829, allocations: 27.2 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.983, allocations: 78.95 kB / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.9832, allocations: 19.36 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.9833, allocations: 38.09 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.9834, allocations: 31.23 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.9834, allocations: 5.281 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.9834, allocations: 5.312 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.9834, allocations: 14.92 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.9835, allocations: 29.16 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.9836, allocations: 79.81 kB / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9836, allocations: 1.125 kB / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9836, allocations: 0 / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.9836, allocations: 0 / 1.215 GB, free: 2.207 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.0006357/0.9843, allocations: 400.3 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9843, allocations: 9.969 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.9843, allocations: 36.53 kB / 1.215 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.9844, allocations: 9.203 kB / 1.215 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.9847, allocations: 204.5 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.9847, allocations: 2.562 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.9847, allocations: 11.59 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.9849, allocations: 69.95 kB / 1.216 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.9849, allocations: 3.938 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.9849, allocations: 5.188 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.9849, allocations: 1.062 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.985, allocations: 34.09 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.9855, allocations: 310 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.9857, allocations: 52.52 kB / 1.216 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.9857, allocations: 15.7 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.9858, allocations: 1.375 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.9858, allocations: 34.56 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9858, allocations: 1.312 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002628/0.9861, allocations: 86.34 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.9861, allocations: 52.47 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.9862, allocations: 131.4 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.9862, allocations: 26.86 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.9863, allocations: 95.62 kB / 1.217 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.9863, allocations: 14.38 kB / 1.217 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.9864, allocations: 17.09 kB / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9865, allocations: 325 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.9866, allocations: 12 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-05/0.9866, allocations: 16.7 kB / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.9867, allocations: 29.78 kB / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9867, allocations: 0 / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001516/0.9869, allocations: 72.28 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.9869, allocations: 4.688 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.9869, allocations: 1.125 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.9869, allocations: 4 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.987, allocations: 4.062 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.987, allocations: 0 / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.9871, allocations: 14.45 kB / 1.217 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.9871, allocations: 4.688 kB / 1.217 GB, free: 188 kB / 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 0.0001023/0.9872, allocations: 118.2 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.9872, allocations: 7.234 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.9872, allocations: 10.19 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.9872, allocations: 4 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9872, allocations: 5 kB / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.9872, allocations: 3.938 kB / 1.217 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.9875, allocations: 186 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9875, allocations: 1.125 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.9875, allocations: 11.17 kB / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.9875, allocations: 0 / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.9875, allocations: 0.9062 kB / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9875, allocations: 0 / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9875, allocations: 0.7812 kB / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.9878, allocations: 163.7 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.9878, allocations: 83.53 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.9878, allocations: 1.219 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.9879, allocations: 13.42 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.988, allocations: 7.391 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.988, allocations: 5.281 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.124e-05/0.9881, allocations: 114.9 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9881, allocations: 0.9062 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002171/0.9883, allocations: 7 kB / 1.218 GB, free: 15.43 MB / 0.9356 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.000614/0.9889, allocations: 0.6968 MB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.9891, allocations: 39.39 kB / 1.218 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9891, allocations: 0 / 1.218 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.9891, allocations: 22.23 kB / 1.218 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.9894, allocations: 3.625 kB / 1.218 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.991, allocations: 1.393 MB / 1.22 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.9914, allocations: 0.6928 MB / 1.22 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.9914, allocations: 7.266 kB / 1.22 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.9915, allocations: 22.84 kB / 1.221 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9915, allocations: 0 / 1.221 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/1.017, allocations: 2.008 MB / 1.222 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.829, allocations: 9.656 kB / 1.222 GB, free: 11.63 MB / 0.9356 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.850776337087154]