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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 109.1 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 192.4 kB / 21.34 MB, free: 0.8398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 443.5 MB / 0.731 GB, free: 14.01 MB / 0.5762 GB [Timeout remaining time 87] 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=523,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=523,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.001959/0.001959, allocations: 71.88 kB / 1.06 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 160.7 MB / 1.217 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001882/0.3204, allocations: 0.7146 MB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.3214, allocations: 0.839 MB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.3214, allocations: 0 / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.3214, allocations: 3.938 kB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.3215, allocations: 7.938 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.3216, allocations: 23.91 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.3217, allocations: 39.97 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.3218, allocations: 15.98 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.3219, allocations: 23.86 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.3219, allocations: 27.91 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3219, allocations: 4 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.322, allocations: 4 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.322, allocations: 11.92 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.322, allocations: 19.92 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3221, allocations: 47.73 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3221, allocations: 4 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3221, allocations: 0 / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3221, allocations: 0 / 1.218 GB, free: 13.73 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.0006685/0.3228, allocations: 359.3 kB / 1.219 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3228, allocations: 15.97 kB / 1.219 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.3229, allocations: 0.9375 kB / 1.219 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3231, allocations: 176.3 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3231, allocations: 4.312 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3231, allocations: 4.375 kB / 1.219 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3233, allocations: 77.59 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3233, allocations: 4 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3233, allocations: 0 / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3233, allocations: 0 / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.3235, allocations: 47.95 kB / 1.219 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.324, allocations: 292.8 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3242, allocations: 66.48 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3243, allocations: 28.91 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.3243, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3243, allocations: 30.56 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3243, allocations: 0 / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004285/0.3248, allocations: 117.5 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3248, allocations: 51.41 kB / 1.22 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.3249, allocations: 105.8 kB / 1.22 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3249, allocations: 29.7 kB / 1.22 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.325, allocations: 88.09 kB / 1.22 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.325, allocations: 11.94 kB / 1.22 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.325, allocations: 13.72 kB / 1.22 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3252, allocations: 326.8 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3254, allocations: 23.98 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.459e-05/0.3254, allocations: 23.97 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3256, allocations: 48.81 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3256, allocations: 3.938 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002495/0.3259, allocations: 93.55 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3259, allocations: 4 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3259, allocations: 4 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3259, allocations: 0 / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3261, allocations: 11.98 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3261, allocations: 4.297 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.3261, allocations: 7.938 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3261, allocations: 0 / 1.22 GB, free: 11.47 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.0001009/0.3262, allocations: 121.8 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3263, allocations: 4 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.3263, allocations: 11.91 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3263, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3263, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3263, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3265, allocations: 181.5 kB / 1.221 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3265, allocations: 0 / 1.221 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.3266, allocations: 11.98 kB / 1.221 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3266, allocations: 0 / 1.221 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3266, allocations: 0 / 1.221 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3266, allocations: 11.92 kB / 1.221 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3266, allocations: 0 / 1.221 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3269, allocations: 183.4 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.327, allocations: 81.11 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.327, allocations: 0 / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3271, allocations: 15.98 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3272, allocations: 11.98 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3272, allocations: 0 / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.3272, allocations: 91.27 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3272, allocations: 0 / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002239/0.3274, allocations: 11.89 kB / 1.221 GB, free: 10.65 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.0001322/0.3276, allocations: 103.6 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3278, allocations: 63.88 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3278, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3279, allocations: 28.06 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3282, allocations: 4 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.3286, allocations: 167 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.329, allocations: 0.6807 MB / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.329, allocations: 11.42 kB / 1.222 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.329, allocations: 4 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of Templates: time 0.00237/0.3314, allocations: 0.808 MB / 1.223 GB, free: 8.727 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/jenkins1/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