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.001708/0.001708, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001998/0.001998, allocations: 193.2 kB / 20.08 MB, free: 2.871 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.452/1.452, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.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.612/2.612, allocations: 443.5 MB / 0.7293 GB, free: 14.46 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.057 GB, free: 1.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3097, allocations: 160.7 MB / 1.214 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002148/0.3119, allocations: 0.8229 MB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3131, allocations: 0.8741 MB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.3131, allocations: 4 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.3133, allocations: 11.86 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.3133, allocations: 11.86 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3135, allocations: 27.91 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.3136, allocations: 79.78 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3137, allocations: 19.98 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.3138, allocations: 31.84 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.3139, allocations: 31.84 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3139, allocations: 11.94 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.3139, allocations: 4 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.314, allocations: 7.938 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.314, allocations: 31.86 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3142, allocations: 87.55 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3142, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3142, allocations: 4 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3142, allocations: 3.938 kB / 1.216 GB, free: 14.73 MB / 0.9669 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.0006225/0.3148, allocations: 383.1 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3148, allocations: 12.02 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.3149, allocations: 8.891 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3152, allocations: 208.2 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3152, allocations: 8.312 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3152, allocations: 4.375 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3154, allocations: 62.23 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3154, allocations: 192 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3154, allocations: 3.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3154, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3155, allocations: 35.97 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.316, allocations: 312.7 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3162, allocations: 54.58 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.3162, allocations: 16.92 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3163, allocations: 3.984 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3163, allocations: 38.64 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3163, allocations: 0 / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002576/0.3165, allocations: 69.62 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3166, allocations: 59.41 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3167, allocations: 139.6 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3167, allocations: 25.7 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.3168, allocations: 100.1 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3168, allocations: 7.953 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.3168, allocations: 21.72 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.317, allocations: 326.7 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.3171, allocations: 15.98 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.3171, allocations: 12 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.77e-05/0.3172, allocations: 28.84 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3172, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001437/0.3173, allocations: 65.62 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3174, allocations: 12 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3174, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3174, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.3174, allocations: 11.92 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3174, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.3175, allocations: 11.92 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3175, allocations: 8 kB / 1.218 GB, free: 12.48 MB / 0.9669 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.0001006/0.3176, allocations: 117.8 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3177, allocations: 7.953 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3177, allocations: 8.25 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3177, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3177, allocations: 4 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3177, allocations: 0 / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3179, allocations: 185.6 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3179, allocations: 4 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.3179, allocations: 3.984 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.318, allocations: 4 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.318, allocations: 4 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.318, allocations: 4 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.318, allocations: 0 / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.3182, allocations: 163.4 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.3182, allocations: 81.06 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3183, allocations: 7.984 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3184, allocations: 4 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.3184, allocations: 7.984 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3184, allocations: 12.3 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.113e-05/0.3185, allocations: 104.8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002245/0.3187, allocations: 15.94 kB / 1.219 GB, free: 11.65 MB / 0.9669 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.0001443/0.3189, allocations: 105.9 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.319, allocations: 35.97 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.319, allocations: 0 / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.3191, allocations: 19.94 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3194, allocations: 7.984 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.3198, allocations: 216 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3201, allocations: 0.6924 MB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.3202, allocations: 7.438 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3202, allocations: 4 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of Templates: time 0.002617/0.3228, allocations: 0.9715 MB / 1.221 GB, free: 9.535 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] 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: 10.283350968034938]