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.001822/0.001822, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.002165/0.002165, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.521/1.521, allocations: 222.9 MB / 245.7 MB, free: 4.242 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.708/2.708, allocations: 437.1 MB / 0.7178 GB, free: 4.504 MB / 0.5606 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.001947/0.001947, allocations: 59.91 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3024, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001983/0.3045, allocations: 0.7018 MB / 1.177 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3056, allocations: 0.8467 MB / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3056, allocations: 4 kB / 1.177 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.3057, allocations: 3.938 kB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.3058, allocations: 7.922 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.3059, allocations: 19.98 kB / 1.177 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.306, allocations: 43.91 kB / 1.177 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3061, allocations: 12 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.3062, allocations: 23.91 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.3063, allocations: 27.91 kB / 1.178 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3063, allocations: 4 kB / 1.178 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.3063, allocations: 4 kB / 1.178 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3064, allocations: 11.94 kB / 1.178 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.3064, allocations: 19.91 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.3065, allocations: 55.67 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3065, allocations: 0 / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3065, allocations: 0 / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3066, allocations: 4 kB / 1.178 GB, free: 4.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006095/0.3072, allocations: 351.3 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3072, allocations: 12.03 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3073, allocations: 4.938 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3074, allocations: 180.3 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3074, allocations: 384 / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.3075, allocations: 4.375 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3077, allocations: 69.58 kB / 1.178 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3077, allocations: 4 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3077, allocations: 3.938 kB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3077, allocations: 0 / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.308, allocations: 59.94 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3084, allocations: 284.8 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3086, allocations: 70.5 kB / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3088, allocations: 28.88 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3088, allocations: 0 / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3088, allocations: 34.56 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3088, allocations: 3.938 kB / 1.179 GB, free: 2.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004213/0.3093, allocations: 105.6 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3093, allocations: 55.39 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.3094, allocations: 109.8 kB / 1.179 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3094, allocations: 29.64 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.3095, allocations: 92.09 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3095, allocations: 7.953 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.3096, allocations: 25.64 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3097, allocations: 318.8 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3099, allocations: 23.97 kB / 1.179 GB, free: 2.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.31, allocations: 19.98 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3102, allocations: 56.81 kB / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3102, allocations: 0 / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002383/0.3104, allocations: 85.59 kB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3104, allocations: 10.03 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3105, allocations: 0 / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3105, allocations: 0 / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3106, allocations: 15.92 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3106, allocations: 4 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.3107, allocations: 11.92 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3107, allocations: 4 kB / 1.18 GB, free: 1.82 MB / 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: 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 9.623e-05/0.3108, allocations: 113.8 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.3108, allocations: 4 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.3109, allocations: 3.906 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3109, allocations: 0 / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3109, allocations: 0 / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3109, allocations: 0 / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3111, allocations: 189.6 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3111, allocations: 0 / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.3112, allocations: 11.98 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3112, allocations: 0 / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3112, allocations: 0 / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3112, allocations: 3.984 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3112, allocations: 0 / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.3115, allocations: 199.7 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3116, allocations: 81.09 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3116, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3117, allocations: 11.92 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.3118, allocations: 8 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.3118, allocations: 7.984 kB / 1.18 GB, free: 1.098 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.3119, allocations: 83.28 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3119, allocations: 0 / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002172/0.3121, allocations: 19.83 kB / 1.18 GB, free: 0.9961 MB / 0.92 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.0001287/0.3122, allocations: 101.6 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3125, allocations: 59.94 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3125, allocations: 0 / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3126, allocations: 31.91 kB / 1.18 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3129, allocations: 8.547 kB / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.3133, allocations: 163.1 kB / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3136, allocations: 0.6768 MB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.3137, allocations: 11.44 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3137, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.002262/0.316, allocations: 0.8172 MB / 1.182 GB, free: 15.07 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.215847538900562]