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.001555/0.001555, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001897/0.001897, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002014/0.002014, allocations: 63.89 kB / 1.062 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 160.8 MB / 1.219 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002524/1.028, allocations: 0.8334 MB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001422/1.029, allocations: 0.8787 MB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/1.029, allocations: 2.719 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/1.03, allocations: 15.8 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/1.03, allocations: 14.41 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/1.03, allocations: 27.75 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/1.03, allocations: 75.17 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/1.03, allocations: 30.95 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/1.03, allocations: 31.17 kB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/1.03, allocations: 30.47 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/1.03, allocations: 10.19 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/1.03, allocations: 5.188 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/1.03, allocations: 18.55 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/1.031, allocations: 28.97 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/1.031, allocations: 80.88 kB / 1.221 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.031, allocations: 4 kB / 1.221 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/1.031, allocations: 0 / 1.221 GB, free: 2.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.804e-06/1.031, allocations: 1.25 kB / 1.221 GB, free: 2.168 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.0007095/1.031, allocations: 394.2 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.031, allocations: 9.156 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/1.031, allocations: 8.984 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/1.032, allocations: 200.9 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.032, allocations: 6.5 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/1.032, allocations: 3.406 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/1.032, allocations: 69.64 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.032, allocations: 1.406 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/1.032, allocations: 7.938 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.032, allocations: 0.9688 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/1.032, allocations: 30.48 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/1.033, allocations: 322 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/1.033, allocations: 48.25 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/1.033, allocations: 20.62 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.033, allocations: 0 / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.033, allocations: 31.69 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/1.033, allocations: 0 / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003079/1.033, allocations: 74.94 kB / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.034, allocations: 60.58 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/1.034, allocations: 133.8 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/1.034, allocations: 31.14 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/1.034, allocations: 95.41 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/1.034, allocations: 10.22 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/1.034, allocations: 17.66 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.034, allocations: 324.5 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/1.034, allocations: 11.88 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/1.034, allocations: 20.64 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/1.034, allocations: 30.31 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.034, allocations: 0 / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001583/1.034, allocations: 72.3 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.034, allocations: 9.219 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.034, allocations: 0 / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.034, allocations: 0.875 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/1.035, allocations: 3.5 kB / 1.223 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.035, allocations: 4 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/1.035, allocations: 10.67 kB / 1.223 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/1.035, allocations: 1.281 kB / 1.223 GB, free: 208 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.0001388/1.035, allocations: 125.4 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/1.035, allocations: 6.547 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/1.035, allocations: 14.77 kB / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.035, allocations: 1.5 kB / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.035, allocations: 0 / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.035, allocations: 15.88 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/1.035, allocations: 182 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.035, allocations: 1.188 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/1.035, allocations: 2.375 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/1.035, allocations: 5.109 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.035, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.035, allocations: 1.125 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.035, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/1.035, allocations: 164 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/1.035, allocations: 91.16 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/1.035, allocations: 1.125 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/1.036, allocations: 9.422 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/1.036, allocations: 7.266 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/1.036, allocations: 1.094 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.055e-05/1.036, allocations: 108.4 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002305/1.036, allocations: 19.09 kB / 1.223 GB, free: 15.45 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.0001642/1.036, allocations: 98.53 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00018/1.036, allocations: 31.2 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.036, allocations: 0 / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/1.036, allocations: 18.67 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/1.037, allocations: 4.344 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/1.037, allocations: 185.9 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/1.038, allocations: 0.6889 MB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.169e-05/1.038, allocations: 7.016 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/1.038, allocations: 10.72 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.038, allocations: 0.8125 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.004092/1.042, allocations: 0.8775 MB / 1.225 GB, free: 14.01 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.217553248628974]