Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008248, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009017/0.0009016, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 16.78 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3721, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001139/0.3733, allocations: 495.5 kB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3744, allocations: 0.8508 MB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.3745, allocations: 0 / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.3745, allocations: 7.922 kB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.588e-05/0.3746, allocations: 7.938 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.3748, allocations: 31.97 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3749, allocations: 79.66 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3751, allocations: 23.98 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.3752, allocations: 23.92 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.3753, allocations: 43.81 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3753, allocations: 7.938 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.3753, allocations: 4 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.3753, allocations: 15.92 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.3754, allocations: 29.7 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3755, allocations: 63.84 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3755, allocations: 4 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3755, allocations: 0 / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3755, allocations: 3.938 kB / 1.06 GB, free: 3.629 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000644/0.3762, allocations: 387.3 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3762, allocations: 12.03 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3763, allocations: 7.906 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3765, allocations: 178.9 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3765, allocations: 0 / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3765, allocations: 11.95 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.3768, allocations: 113.6 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3768, allocations: 0 / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3769, allocations: 4 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3769, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.3773, allocations: 127.8 kB / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.3779, allocations: 344.7 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.3785, allocations: 134.5 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.3787, allocations: 68.81 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3788, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3788, allocations: 34.55 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3788, allocations: 0 / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007529/0.3796, allocations: 217.5 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3796, allocations: 51.41 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3798, allocations: 125.8 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3798, allocations: 29.64 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.3799, allocations: 95.98 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.3799, allocations: 23.73 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.3799, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3801, allocations: 318.8 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3803, allocations: 55.95 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3805, allocations: 55.95 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3807, allocations: 51.95 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3807, allocations: 4 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000432/0.3811, allocations: 161.5 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3811, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3812, allocations: 4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3812, allocations: 0 / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3814, allocations: 31.91 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3814, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3815, allocations: 23.98 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3815, allocations: 4 kB / 1.062 GB, free: 0.7812 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3817, allocations: 121.8 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.3817, allocations: 7.906 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.3817, allocations: 8.375 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3817, allocations: 0 / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3817, allocations: 3.938 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3818, allocations: 0 / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.382, allocations: 213.5 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.382, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3822, allocations: 27.97 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3822, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3822, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3822, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3822, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.3827, allocations: 263.2 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.3828, allocations: 85.02 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3829, allocations: 3.984 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.383, allocations: 15.98 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.3831, allocations: 27.91 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3831, allocations: 3.984 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.3832, allocations: 95.27 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3832, allocations: 4 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002374/0.3834, allocations: 16 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/0.3836, allocations: 97.22 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.384, allocations: 135.8 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.384, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3843, allocations: 72.73 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3846, allocations: 15.94 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.3851, allocations: 181.4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3854, allocations: 0.6942 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.981e-05/0.3855, allocations: 20.11 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.3856, allocations: 11.44 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3856, allocations: 0 / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.004655/0.3903, allocations: 1.305 MB / 1.066 GB, free: 13.22 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches