Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001706/0.001706, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001934/0.001934, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.702/2.702, allocations: 443.4 MB / 0.7304 GB, free: 14.03 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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 75.88 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002093/0.3894, allocations: 0.7133 MB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3905, allocations: 0.8428 MB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.3906, allocations: 4 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.3906, allocations: 7.922 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.3907, allocations: 7.938 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.3909, allocations: 19.97 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.391, allocations: 43.91 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3911, allocations: 8 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.3911, allocations: 19.92 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.3912, allocations: 27.89 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3912, allocations: 4 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.3913, allocations: 8 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.3913, allocations: 23.86 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.3913, allocations: 11.94 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3914, allocations: 55.72 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3915, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3915, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.3915, allocations: 0 / 1.218 GB, free: 13.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006299/0.3921, allocations: 355.3 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3921, allocations: 12.03 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3922, allocations: 4.938 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3924, allocations: 168.3 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3924, allocations: 8.375 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3924, allocations: 4.312 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3926, allocations: 77.52 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3926, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3927, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3927, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3929, allocations: 55.95 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.3934, allocations: 284.8 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3936, allocations: 66.47 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3937, allocations: 32.92 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3937, allocations: 4 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3938, allocations: 34.55 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3938, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004401/0.3942, allocations: 101.6 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3943, allocations: 55.41 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3944, allocations: 117.8 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3944, allocations: 29.7 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.3945, allocations: 88.09 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3945, allocations: 3.953 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.3945, allocations: 25.7 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3947, allocations: 318.7 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3948, allocations: 23.97 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.321e-05/0.3949, allocations: 24.17 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3951, allocations: 56.89 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3951, allocations: 4 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002511/0.3953, allocations: 81.59 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3953, allocations: 8 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3953, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.3954, allocations: 4 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3955, allocations: 19.92 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3955, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.3956, allocations: 15.92 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3956, allocations: 0 / 1.22 GB, free: 11.27 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: 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 0.0001082/0.3957, allocations: 117.8 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3957, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.3958, allocations: 11.89 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.3958, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3958, allocations: 4 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3958, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.396, allocations: 173.6 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.396, allocations: 0 / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.3961, allocations: 11.98 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3961, allocations: 3.984 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3961, allocations: 7.938 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3961, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3961, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.3964, allocations: 191.3 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3965, allocations: 81.11 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3965, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3966, allocations: 7.984 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3967, allocations: 11.98 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3967, allocations: 0 / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.3967, allocations: 87.28 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3967, allocations: 4 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002473/0.397, allocations: 15.89 kB / 1.221 GB, free: 10.45 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 (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.0001772/0.3971, allocations: 99.23 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.3974, allocations: 63.83 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3974, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3975, allocations: 27.97 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3979, allocations: 9.562 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.3983, allocations: 146.4 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3986, allocations: 0.6807 MB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.3987, allocations: 8 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3987, allocations: 15.42 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3987, allocations: 0 / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of Templates: time 0.00376/0.4025, allocations: 0.9041 MB / 1.222 GB, free: 8.453 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.633367453701794]