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.0009371/0.0009372, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.838/2.838, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 10.84 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3071, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0008987/0.3081, allocations: 443.5 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3091, allocations: 0.8235 MB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.3092, allocations: 0 / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.3092, allocations: 3.938 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.3093, allocations: 15.97 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.3095, allocations: 23.98 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.3096, allocations: 39.86 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3097, allocations: 15.98 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.3098, allocations: 11.88 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.3098, allocations: 27.89 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3099, allocations: 0 / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.3099, allocations: 8 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3099, allocations: 4 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.31, allocations: 45.56 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.584e-05/0.3101, allocations: 35.91 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3101, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3101, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3101, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 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.0005341/0.3106, allocations: 359.6 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3107, allocations: 11.97 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.3107, allocations: 4.938 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3109, allocations: 172.3 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3109, allocations: 384 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3109, allocations: 4.375 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.3111, allocations: 81.64 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.3111, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3112, allocations: 12 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3112, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.3114, allocations: 55.95 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.3118, allocations: 300.7 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3121, allocations: 66.48 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3122, allocations: 36.91 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3122, allocations: 4 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3123, allocations: 30.56 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3123, allocations: 0 / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004508/0.3127, allocations: 129.5 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3128, allocations: 51.41 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.3129, allocations: 109.8 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3129, allocations: 29.64 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.3129, allocations: 96.06 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.313, allocations: 11.81 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.313, allocations: 13.72 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3131, allocations: 318.8 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3132, allocations: 31.97 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3133, allocations: 31.97 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3136, allocations: 56.83 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3136, allocations: 4 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002583/0.3138, allocations: 97.64 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3139, allocations: 4 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3139, allocations: 0 / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3139, allocations: 0 / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.314, allocations: 19.92 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.314, allocations: 0 / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.3141, allocations: 11.98 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3141, allocations: 4 kB / 1.063 GB, free: 1.137 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.689e-05/0.3142, allocations: 121.8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3143, allocations: 3.906 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.3143, allocations: 7.891 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3143, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3143, allocations: 336 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3143, allocations: 0 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3145, allocations: 181.5 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3145, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3146, allocations: 19.98 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3146, allocations: 3.984 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3146, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3147, allocations: 7.938 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3147, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.315, allocations: 195.4 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.3151, allocations: 81.02 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3151, allocations: 4 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3152, allocations: 7.984 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.3153, allocations: 11.98 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.3153, allocations: 7.938 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.3153, allocations: 87.27 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3153, allocations: 4 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002194/0.3156, allocations: 8 kB / 1.064 GB, free: 304 kB / 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.0001448/0.3157, allocations: 102.7 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.316, allocations: 67.95 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.316, allocations: 7.938 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3161, allocations: 31.97 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3164, allocations: 6.438 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.3168, allocations: 170.4 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3171, allocations: 0.6809 MB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3171, allocations: 11.44 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3171, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.002198/0.3193, allocations: 0.8068 MB / 1.065 GB, free: 14.36 MB / 0.8262 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 -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