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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.5 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 197.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.664/2.664, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 69.27 kB / 0.8773 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.32, allocations: 153 MB / 1.027 GB, free: 1.969 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002124/0.3222, allocations: 0.7157 MB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3232, allocations: 0.835 MB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.3233, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.3233, allocations: 0 / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.3234, allocations: 3.938 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3236, allocations: 23.91 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.3237, allocations: 47.92 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3239, allocations: 19.97 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.3239, allocations: 23.92 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.324, allocations: 19.92 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.324, allocations: 4 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.3241, allocations: 4 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3241, allocations: 11.92 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.3241, allocations: 23.91 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.477e-05/0.3242, allocations: 39.81 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3242, allocations: 4 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3242, allocations: 0 / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3243, allocations: 4 kB / 1.028 GB, free: 184 kB / 0.795 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.0005112/0.3248, allocations: 352.6 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3248, allocations: 15.97 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3249, allocations: 4.844 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.325, allocations: 168.4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.325, allocations: 4.375 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3251, allocations: 4.375 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3253, allocations: 77.75 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.3253, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3253, allocations: 4 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.3253, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.3255, allocations: 47.95 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.326, allocations: 296.6 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3262, allocations: 66.48 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3263, allocations: 36.91 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3263, allocations: 0 / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3264, allocations: 30.56 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.3264, allocations: 0 / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004151/0.3268, allocations: 109.6 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3268, allocations: 51.41 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.3269, allocations: 109.8 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3269, allocations: 29.7 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.327, allocations: 92.03 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.327, allocations: 3.906 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3271, allocations: 21.72 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3272, allocations: 322.8 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3273, allocations: 19.98 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.3274, allocations: 27.91 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.3276, allocations: 56.75 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3276, allocations: 8 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002248/0.3278, allocations: 77.66 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3278, allocations: 8 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3278, allocations: 3.984 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3279, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.328, allocations: 11.98 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.328, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.3281, allocations: 8 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3281, allocations: 3.984 kB / 1.03 GB, free: 13.93 MB / 0.8106 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.138e-05/0.3282, allocations: 117.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.3282, allocations: 7.906 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3282, allocations: 11.84 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3282, allocations: 336 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3283, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3283, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3284, allocations: 185.6 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3285, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.3286, allocations: 15.97 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3286, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3286, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3286, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3286, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3289, allocations: 187.3 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3289, allocations: 81.11 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3289, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3291, allocations: 11.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.3291, allocations: 15.92 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3292, allocations: 3.938 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.3292, allocations: 91.27 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3292, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000234/0.3295, allocations: 8 kB / 1.031 GB, free: 13.1 MB / 0.8106 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.0001297/0.3296, allocations: 99.19 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3299, allocations: 63.94 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.3299, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.33, allocations: 31.86 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3303, allocations: 7.984 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.3308, allocations: 129.6 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.331, allocations: 0.6845 MB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.3311, allocations: 11.98 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.3311, allocations: 11.44 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3312, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of Templates: time 0.003303/0.3345, allocations: 0.8895 MB / 1.033 GB, free: 11.12 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) 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) Reference file matches