Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001737/0.001737, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002151/0.002151, allocations: 216.3 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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 3.484/3.484, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.81 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001936/0.3881, allocations: 0.7057 MB / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3891, allocations: 0.8705 MB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.3892, allocations: 0 / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.3892, allocations: 3.938 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.3893, allocations: 15.92 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.3894, allocations: 19.92 kB / 1.356 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.3895, allocations: 47.84 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3896, allocations: 15.98 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.3897, allocations: 15.92 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.3898, allocations: 31.84 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.3898, allocations: 4 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.3898, allocations: 4 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3898, allocations: 11.98 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.3899, allocations: 19.88 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.39, allocations: 55.78 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.39, allocations: 0 / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.39, allocations: 0 / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.39, allocations: 0 / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005343/0.3905, allocations: 278.2 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3906, allocations: 8.031 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.3906, allocations: 4.938 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3908, allocations: 118.4 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3908, allocations: 4.375 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3908, allocations: 8.375 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.391, allocations: 69.58 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.391, allocations: 0 / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.391, allocations: 0 / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.391, allocations: 7.938 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.3912, allocations: 55.92 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.3917, allocations: 263.8 kB / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3919, allocations: 58.55 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.392, allocations: 32.91 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3921, allocations: 0 / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3921, allocations: 30.56 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3921, allocations: 8 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004237/0.3925, allocations: 105.6 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3926, allocations: 55.41 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3927, allocations: 109.8 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3927, allocations: 25.7 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.3927, allocations: 92.08 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3928, allocations: 11.89 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.3928, allocations: 21.72 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.393, allocations: 318.8 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3931, allocations: 19.98 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.3932, allocations: 31.97 kB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3933, allocations: 48.81 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3933, allocations: 4 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002394/0.3936, allocations: 85.55 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3936, allocations: 7.984 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3936, allocations: 0 / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3936, allocations: 3.938 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3937, allocations: 15.98 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3937, allocations: 0 / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.3938, allocations: 8 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3938, allocations: 11.98 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.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 8.731e-05/0.3939, allocations: 110.4 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.3939, allocations: 4 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.394, allocations: 8 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.394, allocations: 336 / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.394, allocations: 4 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.394, allocations: 3.938 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3942, allocations: 144.7 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3942, allocations: 0 / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.3943, allocations: 27.91 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3943, allocations: 0 / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3943, allocations: 4 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3943, allocations: 0 / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3943, allocations: 0 / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3946, allocations: 183.4 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.3946, allocations: 4 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3946, allocations: 4 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3947, allocations: 7.984 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.3948, allocations: 11.98 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3948, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.3948, allocations: 91.25 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3948, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002286/0.3951, allocations: 11.94 kB / 1.358 GB, free: 3.391 MB / 1.045 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000116/0.3952, allocations: 99.88 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.3954, allocations: 59.88 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3954, allocations: 0 / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3956, allocations: 27.97 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3958, allocations: 7.375 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3962, allocations: 159.3 kB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3965, allocations: 0.6884 MB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.3966, allocations: 7.438 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3966, allocations: 4 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of Templates: time 0.002489/0.3991, allocations: 0.8107 MB / 1.36 GB, free: 1.477 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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: 11.501553303009132]