Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001414/0.001414, allocations: 81.31 kB / 19.18 MB, free: 2.512 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.001507/0.001507, allocations: 169 kB / 22.46 MB, free: 5.371 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.709/2.709, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.33e-05, allocations: 12.83 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001948/0.001981, allocations: 0.6981 MB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.003306, allocations: 0.8626 MB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.00335, allocations: 0 / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.003376, allocations: 0 / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.528e-05/0.003471, allocations: 7.922 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.003637, allocations: 23.92 kB / 0.9525 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003742, allocations: 47.84 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003847, allocations: 19.91 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.003938, allocations: 23.98 kB / 0.9526 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.004005, allocations: 23.92 kB / 0.9526 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.004028, allocations: 7.938 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.00404, allocations: 4 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.004063, allocations: 11.97 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.004092, allocations: 11.94 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.004202, allocations: 51.89 kB / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.004205, allocations: 0 / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.004207, allocations: 0 / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.00421, allocations: 0 / 0.9527 GB, free: 9.727 MB / 0.8575 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.0005664/0.004777, allocations: 282.2 kB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.004813, allocations: 11.97 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.004853, allocations: 8.922 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004989, allocations: 117.7 kB / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.005021, allocations: 384 / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.005039, allocations: 12.31 kB / 0.9531 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.005263, allocations: 62.22 kB / 0.9532 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.005275, allocations: 3.938 kB / 0.9532 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.005288, allocations: 4 kB / 0.9532 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.005292, allocations: 0 / 0.9532 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.005517, allocations: 51.94 kB / 0.9533 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.005954, allocations: 228.5 kB / 0.9535 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.006185, allocations: 66.42 kB / 0.9535 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.0063, allocations: 28.91 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.006319, allocations: 0 / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.006359, allocations: 38.56 kB / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.00636, allocations: 0 / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004552/0.006815, allocations: 109.5 kB / 0.9537 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.006864, allocations: 55.41 kB / 0.9538 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006975, allocations: 109.8 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.006996, allocations: 25.7 kB / 0.9539 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.007058, allocations: 92.12 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.007081, allocations: 11.84 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.007127, allocations: 17.72 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.007291, allocations: 318.8 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.007404, allocations: 23.98 kB / 0.9543 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.007506, allocations: 23.97 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.007716, allocations: 52.81 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.007721, allocations: 3.938 kB / 0.9544 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002748/0.007996, allocations: 81.59 kB / 0.9545 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.008011, allocations: 11.98 kB / 0.9545 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.008018, allocations: 4 kB / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.008037, allocations: 0 / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.008168, allocations: 15.92 kB / 0.9545 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008174, allocations: 3.938 kB / 0.9545 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.008252, allocations: 7.953 kB / 0.9545 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.008262, allocations: 3.984 kB / 0.9545 GB, free: 7.703 MB / 0.8575 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.0001045/0.008366, allocations: 117.8 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.008393, allocations: 0 / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.008423, allocations: 12 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008425, allocations: 4 kB / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008429, allocations: 0 / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.008434, allocations: 4 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.008602, allocations: 113.3 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.008607, allocations: 7.938 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.434e-05/0.008701, allocations: 11.97 kB / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/0.00872, allocations: 4 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.008734, allocations: 0 / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008736, allocations: 0 / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008736, allocations: 3.938 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.009128, allocations: 187.8 kB / 0.955 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.009145, allocations: 7.938 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.009164, allocations: 0 / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.009272, allocations: 7.984 kB / 0.955 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.009376, allocations: 11.98 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.009381, allocations: 0 / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001008/0.009482, allocations: 95.56 kB / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009482, allocations: 0 / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002435/0.009725, allocations: 8 kB / 0.9551 GB, free: 7.059 MB / 0.8575 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.0001994/0.009925, allocations: 99.25 kB / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.01024, allocations: 55.89 kB / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01024, allocations: 0 / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.01037, allocations: 31.97 kB / 0.9553 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.01075, allocations: 3.938 kB / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.01122, allocations: 132.9 kB / 0.9554 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.847e-05/0.01129, allocations: 67.34 kB / 0.9555 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.01134, allocations: 4 kB / 0.9555 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.0114, allocations: 16.48 kB / 0.9555 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.0114, allocations: 3.938 kB / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of Templates: time 0.003843/0.01524, allocations: 0.9457 MB / 0.9564 GB, free: 5.664 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.191894385963678]